Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2012-10-30 23:42:11 +0400
committerKenneth Heafield <github@kheafield.com>2012-10-30 23:42:11 +0400
commitb6b2e35190833ed36bfcfb6291a5827be5284bf5 (patch)
tree13f106c15a409908f84ee88986299b9356f2234b /util/Jamfile
parent4b98b0937cfcf8932b8cad2822dc01f9562353fd (diff)
Change test_lib to obey --static
Diffstat (limited to 'util/Jamfile')
-rw-r--r--util/Jamfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/Jamfile b/util/Jamfile
index 202c376ad..0d271d307 100644
--- a/util/Jamfile
+++ b/util/Jamfile
@@ -1,11 +1,11 @@
local compressed_flags = <include>.. <define>HAVE_ZLIB ;
local compressed_deps = /top//z ;
-if [ test_flags "-lbz2" ] {
+if [ test_library "bz2" ] {
external-lib bz2 ;
compressed_flags += <define>HAVE_BZLIB ;
compressed_deps += bz2 ;
}
-if [ test_flags "-llzma" ] {
+if [ test_library "lzma" ] {
external-lib lzma ;
compressed_flags += <define>HAVE_XZLIB ;
compressed_deps += lzma ;