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