mirror of
https://github.com/boostorg/process.git
synced 2026-01-19 04:22:15 +00:00
b2 link fixes.
This commit is contained in:
@@ -57,7 +57,7 @@ else()
|
||||
endif()
|
||||
|
||||
if (WIN32)
|
||||
target_link_libraries(boost_process PUBLIC ntdll)
|
||||
target_link_libraries(boost_process PUBLIC ntdll shell32 Advapi32 user32)
|
||||
endif()
|
||||
|
||||
if(BUILD_SHARED_LIBS)
|
||||
|
||||
@@ -40,11 +40,23 @@ alias process_sources
|
||||
shell.cpp
|
||||
;
|
||||
|
||||
if [ os.name ] = NT
|
||||
{
|
||||
lib shell32 ;
|
||||
lib Advapi32 ;
|
||||
lib Ntdll ;
|
||||
lib user32 ;
|
||||
}
|
||||
|
||||
lib boost_process
|
||||
: process_sources
|
||||
: requirements <define>BOOST_PROCESS_SOURCE=1
|
||||
<link>shared:<define>BOOST_PROCESS_DYN_LINK=1
|
||||
<boost.process.fs>boost:<library>/boost//filesystem
|
||||
<target-os>windows:<library>shell32
|
||||
<target-os>windows:<library>user32
|
||||
<target-os>windows:<library>Ntdll
|
||||
<target-os>windows:<library>Advapi32
|
||||
: usage-requirements
|
||||
<link>shared:<define>BOOST_PROCESS_DYN_LINK=1
|
||||
<boost.process.fs>boost:<library>/boost//filesystem
|
||||
|
||||
@@ -43,15 +43,10 @@ exe target : target.cpp :
|
||||
<target-os>windows:<source>Ntdll
|
||||
;
|
||||
|
||||
|
||||
lib test_impl : test_impl.cpp filesystem /boost//process :
|
||||
<define>BOOST_PROCESS_V2_SEPARATE_COMPILATION=1
|
||||
<define>BOOST_TEST_IGNORE_SIGCHLD=1
|
||||
<link>static
|
||||
<target-os>windows:<source>shell32
|
||||
<target-os>windows:<source>user32
|
||||
<target-os>windows:<source>Ntdll
|
||||
<target-os>windows:<source>Advapi32
|
||||
;
|
||||
|
||||
test-suite standalone :
|
||||
|
||||
Reference in New Issue
Block a user