if boost=system, -I/opt/local/include/boost-1_35 -I/usr/include/python2.5 and -L/opt/local/lib are now passed on to the build command line

This commit is contained in:
Arvid Norberg 2008-05-14 00:21:57 +00:00
parent a26632696c
commit 262bb9f6e7
1 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,8 @@ import errors ;
import feature : feature ;
BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;
CXXFLAGS = [ modules.peek : CXXFLAGS ] ;
LDFLAGS = [ modules.peek : LDFLAGS ] ;
ECHO "BOOST_ROOT =" $(BOOST_ROOT) ;
ECHO "OS =" [ os.name ] ;
@ -352,6 +354,8 @@ local usage-requirements =
# disable some warnings for gcc
<toolset>gcc:<cxxflags>-fno-strict-aliasing
<toolset>gcc:<cxxflags>-Wno-missing-braces
<boost>system:<cxxflags>$(CXXFLAGS)
<boost>system:<linkflags>$(LDFLAGS)
;
project torrent ;
@ -369,6 +373,7 @@ lib torrent
<dht-support>logging:<source>src/$(KADEMLIA_SOURCES).cpp
<zlib>shipped:<source>zlib/$(ZLIB_SOURCES).c
<conditional>@building
<boost>system:<cxxflags>$(CXXFLAGS)
$(usage-requirements)
: # default build