mirror of
https://github.com/boostorg/process.git
synced 2026-01-19 04:22:15 +00:00
Fix undefined reference to ws2_32
else it fails to link on mingw: ``` process_handle_windows.o:process_handle_windows.cpp:(.text+0x25): undefined reference to `_imp__WSACleanup@0' ```
This commit is contained in:
committed by
Klemens Morgenstern
parent
54479a7372
commit
8df45b8f68
@@ -45,6 +45,7 @@ lib shell32 ;
|
||||
lib advapi32 ;
|
||||
lib ntdll ;
|
||||
lib user32 ;
|
||||
lib ws2_32 ;
|
||||
|
||||
lib boost_process
|
||||
: process_sources
|
||||
@@ -55,6 +56,7 @@ lib boost_process
|
||||
<target-os>windows:<library>user32
|
||||
<target-os>windows:<library>ntdll
|
||||
<target-os>windows:<library>advapi32
|
||||
<target-os>windows:<library>ws2_32
|
||||
: usage-requirements
|
||||
<link>shared:<define>BOOST_PROCESS_DYN_LINK=1
|
||||
<boost.process.fs>boost:<library>/boost/filesystem//boost_filesystem
|
||||
|
||||
Reference in New Issue
Block a user