mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-22 00:30:51 +03:00
Attempt to unbreak build, now it wants static zlib
This commit is contained in:
parent
d683336714
commit
5822851f41
8
Jamroot
8
Jamroot
@ -32,9 +32,11 @@ if [ SHELL $(TOP)"/jam-files/test.sh -static -lboost_program_options" ] = 1 {
|
||||
#With shared linkage, defines macro. See tools/build/v2/contrib/boost.jam in a
|
||||
#boost tarball for a table of dynamic linking macros.
|
||||
rule boost_lib ( name macro ) {
|
||||
lib boost_$(name) : : <threading>single <name>boost_$(name) $(force-boost-link) : : <link>shared:<define>BOOST_$(macro) ;
|
||||
|
||||
lib boost_$(name) : : <threading>multi <name>boost_$(name)-mt $(force-boost-link) : : <link>shared:<define>BOOST_$(macro) ;
|
||||
#Add -mt if multi-threaded.
|
||||
lib inner_boost_$(name) : : <threading>single <name>boost_$(name) ;
|
||||
lib inner_boost_$(name) : : <threading>multi <name>boost_$(name)-mt ;
|
||||
#link dynamically
|
||||
alias boost_$(name) : inner_boost_$(name) : $(force-boost-link) : : <link>shared:<define>BOOST_$(macro) ;
|
||||
}
|
||||
boost_lib thread THREAD_DYN_DLL ;
|
||||
boost_lib program_options PROGRAM_OPTIONS_DYN_LINK ;
|
||||
|
Loading…
Reference in New Issue
Block a user