Changeset View
Changeset View
Standalone View
Standalone View
libraries/osx/build-osx-libs.sh
Show First 20 Lines • Show All 317 Lines • ▼ Show 20 Lines | then | ||||
rm -f .already-built | rm -f .already-built | ||||
download_lib $LIB_URL $LIB_ARCHIVE | download_lib $LIB_URL $LIB_ARCHIVE | ||||
rm -rf $LIB_DIRECTORY include lib | rm -rf $LIB_DIRECTORY include lib | ||||
tar -xf $LIB_ARCHIVE | tar -xf $LIB_ARCHIVE | ||||
pushd $LIB_DIRECTORY | pushd $LIB_DIRECTORY | ||||
# Can't use macosx-version, see above comment. | # Can't use macosx-version, see above comment. | ||||
(./bootstrap.sh --with-libraries=filesystem,system --prefix=$INSTALL_DIR && ./b2 cflags="$CFLAGS" toolset=clang cxxflags="$CXXFLAGS" linkflags="$LDFLAGS" ${JOBS} -d2 --layout=tagged --debug-configuration link=static threading=multi variant=release,debug install) || die "Boost build failed" | (./bootstrap.sh --with-libraries=filesystem --prefix=$INSTALL_DIR && ./b2 cflags="$CFLAGS" toolset=clang cxxflags="$CXXFLAGS" linkflags="$LDFLAGS" ${JOBS} -d2 --layout=tagged --debug-configuration link=static threading=multi variant=release,debug install) || die "Boost build failed" | ||||
popd | popd | ||||
touch .already-built | touch .already-built | ||||
else | else | ||||
already_built | already_built | ||||
fi | fi | ||||
popd > /dev/null | popd > /dev/null | ||||
▲ Show 20 Lines • Show All 547 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator