mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 02:02:38 +01:00
tools: Add condition to check if bjam exists.
This commit is contained in:
parent
b07f8d633e
commit
00734c3a19
1 changed files with 6 additions and 1 deletions
|
@ -185,7 +185,12 @@ B2FLAGS+=" $_BCXXFLAGS"
|
|||
|
||||
### Install should go right into this local submodule repository
|
||||
run ./bootstrap.sh --prefix=$PWD --libdir=$PWD/lib --with-libraries=$BLIBS $BSFLAGS
|
||||
run ./bjam --clean $B2FLAGS
|
||||
|
||||
BJAM="./bjam"
|
||||
if test -f "$BJAM"; then
|
||||
run $BJAM --clean $B2FLAGS
|
||||
fi
|
||||
|
||||
run ./b2 -d0 headers $B2FLAGS
|
||||
run ./b2 -d0 install $B2FLAGS
|
||||
|
||||
|
|
Loading…
Reference in a new issue