summaryrefslogtreecommitdiff
path: root/jam-files
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cab.ark.cs.cmu.edu>2012-05-23 00:36:29 -0400
committerChris Dyer <cdyer@cab.ark.cs.cmu.edu>2012-05-23 00:36:29 -0400
commit4738874acde9391beef87c83d0d5c25f3289a625 (patch)
treeb5c056d191b6b5ca45a604572beee58f19fc881e /jam-files
parentdcbf1cd5808fb33365d739d35dbf87f036f4a999 (diff)
support for cab, pay attention to BOOST_ROOT in bjam
Diffstat (limited to 'jam-files')
-rw-r--r--jam-files/sanity.jam1
1 files changed, 1 insertions, 0 deletions
diff --git a/jam-files/sanity.jam b/jam-files/sanity.jam
index 9c75c247..2a5fc381 100644
--- a/jam-files/sanity.jam
+++ b/jam-files/sanity.jam
@@ -74,6 +74,7 @@ if $(with-macports) {
}
else {
with-boost = [ option.get "with-boost" ] ;
+ with-boost ?= [ os.environ "BOOST_ROOT" ] ;
if $(with-boost) {
L-boost-search = -L$(with-boost)/lib" "-L$(with-boost)/lib64 ;
boost-search = <search>$(with-boost)/lib <search>$(with-boost)/lib64 ;