mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/fiddle] windows: link to ws2_32 for WSAGetLastError()
https://github.com/ruby/fiddle/commit/e9955d74ae
This commit is contained in:
parent
71d4a493b8
commit
79717f81f8
Notes:
git
2021-05-18 12:49:03 +09:00
1 changed files with 2 additions and 0 deletions
|
@ -200,6 +200,8 @@ elsif have_header "windows.h"
|
|||
%w{ LoadLibrary FreeLibrary GetProcAddress }.each do |func|
|
||||
abort "missing function #{func}" unless have_func(func)
|
||||
end
|
||||
|
||||
have_library "ws2_32"
|
||||
end
|
||||
|
||||
have_const('FFI_STDCALL', ffi_header)
|
||||
|
|
Loading…
Reference in a new issue