1
0
Fork 0
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:
Sutou Kouhei 2021-04-19 16:45:11 +09:00 committed by Hiroshi SHIBATA
parent 71d4a493b8
commit 79717f81f8
Notes: git 2021-05-18 12:49:03 +09:00

View file

@ -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)