From 596663589b4478371863a71b4436548c670f0fe6 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 8 May 2015 08:22:06 +0000 Subject: extconf.rb: no nmake style VPATH * ext/io/console/extconf.rb: only nmake needs remove style VPATH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/io/console/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/io/console/extconf.rb') diff --git a/ext/io/console/extconf.rb b/ext/io/console/extconf.rb index 15fa798a4d..8cb3c4ea4e 100644 --- a/ext/io/console/extconf.rb +++ b/ext/io/console/extconf.rb @@ -5,7 +5,7 @@ hdr = nil case when macro_defined?("_WIN32", "") # rb_w32_map_errno: 1.8.7 - vk_header = "$(WIN32_VK_HEADER)" + vk_header = ($nmake == ?n ? "{$(srcdir)}" : "") << "win32_vk.chksum" when hdr = %w"termios.h termio.h".find {|h| have_header(h)} have_func("cfmakeraw", hdr) when have_header(hdr = "sgtty.h") -- cgit v1.2.3