We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96e2bd1 commit cc4540bCopy full SHA for cc4540b
ext/win32/resolv/extconf.rb
@@ -1,5 +1,5 @@
1
require 'mkmf'
2
-if have_library('iphlpapi', 'GetNetworkParams')
+if /cygwin|mingw|mswin/ =~ RbConfig::CONFIG['target_os']
3
create_makefile('win32/resolv')
4
else
5
File.write('Makefile', "all clean install:\n\t@echo Done: $(@)\n")
0 commit comments