We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2cb97e commit c295cd1Copy full SHA for c295cd1
ext/win32/resolv/extconf.rb
@@ -1,5 +1,5 @@
1
require 'mkmf'
2
-if have_library('iphlpapi', 'GetNetworkParams')
+if RUBY_ENGINE == "ruby" and have_library('iphlpapi', 'GetNetworkParams')
3
create_makefile('win32/resolv')
4
else
5
File.write('Makefile', "all clean install:\n\t@echo Done: $(@)\n")
0 commit comments