summaryrefslogtreecommitdiff
path: root/ext/io/console/extconf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-08 08:22:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-08 08:22:06 +0000
commit596663589b4478371863a71b4436548c670f0fe6 (patch)
tree60902ef86fe5865dbf90ad84fbdaca324c9ee931 /ext/io/console/extconf.rb
parentd75ba7dc3e7d90ceeba068f3de01d2e849a73597 (diff)
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
Diffstat (limited to 'ext/io/console/extconf.rb')
-rw-r--r--ext/io/console/extconf.rb2
1 files changed, 1 insertions, 1 deletions
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")