diff options
author | Kenneth Heafield <github@kheafield.com> | 2012-10-30 23:42:11 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2012-10-30 23:42:11 +0400 |
commit | b6b2e35190833ed36bfcfb6291a5827be5284bf5 (patch) | |
tree | 13f106c15a409908f84ee88986299b9356f2234b /util/Jamfile | |
parent | 4b98b0937cfcf8932b8cad2822dc01f9562353fd (diff) |
Change test_lib to obey --static
Diffstat (limited to 'util/Jamfile')
-rw-r--r-- | util/Jamfile | 4 |
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 ; |