Skip to content

Commit

Permalink
fix(install-boost.sh): exit code 0
Browse files Browse the repository at this point in the history
  • Loading branch information
lotem committed Mar 8, 2024
1 parent 8a4edca commit e18c419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-boost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ download_boost_source() {
boost_cxxflags='-arch arm64 -arch x86_64'

build_boost_macos() {
[[ -n "${boost_libs}" ]] || return
cd "${BOOST_ROOT}"
./bootstrap.sh --with-toolset=clang --with-libraries="${boost_libs}"
./b2 -q -a link=static architecture=arm cxxflags="${boost_cxxflags}" stage
Expand All @@ -44,6 +43,7 @@ if [[ $# -eq 0 || " $* " =~ ' --download ' ]]; then
./b2 headers
fi
if [[ $# -eq 0 || " $* " =~ ' --build ' ]]; then
[[ -n "${boost_libs}" ]] || return 0
if [[ "$OSTYPE" =~ 'darwin' ]]; then
build_boost_macos
fi
Expand Down

0 comments on commit e18c419

Please sign in to comment.