0
0
Fork 0
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:
Jason Volk 2020-02-25 15:01:40 -08:00
parent b07f8d633e
commit 00734c3a19

View file

@ -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