summaryrefslogtreecommitdiff
path: root/ext/win32/resolv/extconf.rb
blob: 4afbf8a4f6edceb9caf6032fbd6ca59abd1782e1 (plain)
1
2
3
4
5
6
require 'mkmf'
if RUBY_ENGINE == "ruby" and have_library('iphlpapi', 'GetNetworkParams')
  create_makefile('win32/resolv')
else
  File.write('Makefile', "all clean install:\n\t@echo Done: $(@)\n")
end