build boost on mac
This commit is contained in:
@@ -41,7 +41,8 @@ tar zxvpf $libFilePath -C $buildPath
|
||||
|
||||
if [ "${machineArch}" = "Linux" ]; then
|
||||
(cd $libSrcPath && \
|
||||
./bootstrap.sh --prefix=$libInstallPath && \
|
||||
./bootstrap.sh \
|
||||
--prefix=$libInstallPath && \
|
||||
./b2 \
|
||||
--build-dir=$libBuildPath \
|
||||
--prefix=$libInstallPath \
|
||||
@@ -55,7 +56,9 @@ if [ "${machineArch}" = "Linux" ]; then
|
||||
install)
|
||||
elif [ "${machineArch}" = "MacOS" ]; then
|
||||
(cd $libSrcPath && \
|
||||
./bootstrap.sh --prefix=$libInstallPath && \
|
||||
./bootstrap.sh \
|
||||
--prefix=$libInstallPath \
|
||||
--with-toolset=clang && \
|
||||
./b2 \
|
||||
--build-dir=$libBuildPath \
|
||||
--prefix=$libInstallPath \
|
||||
@@ -66,6 +69,7 @@ elif [ "${machineArch}" = "MacOS" ]; then
|
||||
threading=multi \
|
||||
runtime-link=shared \
|
||||
address-model=64 \
|
||||
toolset=clang \
|
||||
install)
|
||||
elif [ "${machineArch}" = "Windows" ]; then
|
||||
(cd $libSrcPath && \
|
||||
|
||||
Reference in New Issue
Block a user