diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-02 04:36:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-02 04:36:14 +0000 |
commit | 11bc984efef59546531acb19fbe71b1c660e36db (patch) | |
tree | 87881c4f2813a36af55dace11575956c4fc6bc40 /ext/socket/extconf.rb | |
parent | bb3db69e2a0c210cc3a63940622db96a97eb7947 (diff) |
search winsock libraries explicitly
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/extconf.rb')
-rw-r--r-- | ext/socket/extconf.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index ec89bed7c2..0cc8a88d5c 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb @@ -433,6 +433,7 @@ end case RUBY_PLATFORM when /mswin(32|64)|mingw/ test_func = "WSACleanup" + have_library("iphlpapi") have_library("ws2_32", "WSACleanup", headers) when /cygwin/ test_func = "socket(0,0,0)" |