We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72c67af commit 8b7938bCopy full SHA for 8b7938b
1 file changed
install-boost.sh
@@ -24,7 +24,6 @@ download_boost_source() {
24
boost_cxxflags='-arch arm64 -arch x86_64'
25
26
build_boost_macos() {
27
- [[ -n "${boost_libs}" ]] || return
28
cd "${BOOST_ROOT}"
29
./bootstrap.sh --with-toolset=clang --with-libraries="${boost_libs}"
30
./b2 -q -a link=static architecture=arm cxxflags="${boost_cxxflags}" stage
@@ -43,7 +42,7 @@ if [[ $# -eq 0 || " $* " =~ ' --download ' ]]; then
43
42
./bootstrap.sh
44
./b2 headers
45
fi
46
-if [[ $# -eq 0 || " $* " =~ ' --build ' ]]; then
+if [[ ($# -eq 0 || " $* " =~ ' --build ') && -n "${boost_libs}" ]]; then
47
if [[ "$OSTYPE" =~ 'darwin' ]]; then
48
build_boost_macos
49
0 commit comments