diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-08 08:22:06 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-08 08:22:06 +0000 |
commit | 46ad5ddb3b8ea9db818ac8287a3d8c9addec26e8 (patch) | |
tree | 60902ef86fe5865dbf90ad84fbdaca324c9ee931 /ext | |
parent | 2b665d58e80e1d7d35e2f373cfd575823a73ba51 (diff) | |
download | ruby-46ad5ddb3b8ea9db818ac8287a3d8c9addec26e8.tar.gz |
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')
-rw-r--r-- | ext/io/console/depend | 2 | ||||
-rw-r--r-- | ext/io/console/extconf.rb | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/ext/io/console/depend b/ext/io/console/depend index 2ec922a4fb..85bc81f004 100644 --- a/ext/io/console/depend +++ b/ext/io/console/depend @@ -1,5 +1,3 @@ -WIN32_VK_HEADER = {$(srcdir)}win32_vk.chksum - $(OBJS): $(HDRS) $(ruby_headers) \ $(VK_HEADER) \ $(hdrdir)/ruby/io.h \ 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") |