We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55f71c5 commit fbb19fdCopy full SHA for fbb19fd
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