From 2ed09e7ebd22d79a349e7789ac04253e9aa9d65f Mon Sep 17 00:00:00 2001 From: Bassem Girgis Date: Thu, 15 Aug 2019 05:27:57 -0500 Subject: [PATCH] build boost on mac --- boost/build.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/boost/build.sh b/boost/build.sh index 2b3a52b..5d8ebb0 100755 --- a/boost/build.sh +++ b/boost/build.sh @@ -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 && \