diff options
Diffstat (limited to 'ext/io')
-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") |