mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 21:49:06 +02:00

https://github.com/ruby/resolv/pull/69)
On JRuby no C compiler is available and this call results in a runtime
error.
33105bc504
6 lines
201 B
Ruby
6 lines
201 B
Ruby
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
|