forked from 0ad/0ad
Fix MacOS bundle build
clean-workspaces.sh now cleans SM libs, so it needs to be called before building libraries. Differential Revision: https://code.wildfiregames.com/D3153 This was SVN commit r24274.
This commit is contained in:
parent
d867b829b4
commit
4b76e33e4d
@ -949,7 +949,7 @@ then
|
||||
fi
|
||||
|
||||
# Use the regular build script for SM.
|
||||
JOBS="$JOBS" ZLIB_DIR="$ZLIB_DIR" ./build.sh
|
||||
JOBS="$JOBS" ZLIB_DIR="$ZLIB_DIR" ./build.sh || die "Error building spidermonkey"
|
||||
|
||||
popd > /dev/null
|
||||
|
||||
|
6
source/tools/dist/build-osx-bundle.sh
vendored
6
source/tools/dist/build-osx-bundle.sh
vendored
@ -85,17 +85,19 @@ BUNDLE_SHAREDSUPPORT=$BUNDLE_CONTENTS/SharedSupport
|
||||
|
||||
# TODO: Do we really want to regenerate everything? (consider if one task fails)
|
||||
|
||||
./clean-workspaces.sh
|
||||
|
||||
# Build libraries against SDK
|
||||
echo "\nBuilding libraries\n"
|
||||
pushd ../../libraries/osx > /dev/null
|
||||
./build-osx-libs.sh $JOBS --force-rebuild || die "Libraries build script failed"
|
||||
popd > /dev/null
|
||||
|
||||
# Clean and update workspaces
|
||||
# Update workspaces
|
||||
echo "\nGenerating workspaces\n"
|
||||
|
||||
# Pass OS X options through to Premake
|
||||
(./clean-workspaces.sh && SYSROOT="$SYSROOT" MIN_OSX_VERSION="$MIN_OSX_VERSION" ./update-workspaces.sh --macosx-bundle="$BUNDLE_IDENTIFIER" --sysroot="$SYSROOT" --macosx-version-min="$MIN_OSX_VERSION") || die "update-workspaces.sh failed!"
|
||||
(SYSROOT="$SYSROOT" MIN_OSX_VERSION="$MIN_OSX_VERSION" ./update-workspaces.sh --macosx-bundle="$BUNDLE_IDENTIFIER" --sysroot="$SYSROOT" --macosx-version-min="$MIN_OSX_VERSION") || die "update-workspaces.sh failed!"
|
||||
|
||||
pushd gcc > /dev/null
|
||||
echo "\nBuilding game\n"
|
||||
|
Loading…
Reference in New Issue
Block a user