mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 13:40:56 +00:00
Fix minimum macOS version not being set in AppBundle Info.plist
make-macosx-app.sh reads MACOSX_DEPLOYMENT_TARGET variable but it wasn't ever set.
This commit is contained in:
parent
0a599268bb
commit
c04cf19b77
2 changed files with 4 additions and 0 deletions
|
@ -88,4 +88,5 @@ echo;echo
|
|||
echo
|
||||
|
||||
# use the following shell script to build a universal application bundle
|
||||
export MACOSX_DEPLOYMENT_TARGET="10.5"
|
||||
"./make-macosx-app.sh" release
|
||||
|
|
|
@ -47,6 +47,8 @@ if [ -d /Developer/SDKs/MacOSX10.5.sdk ]; then
|
|||
ARCH_SDK=/Developer/SDKs/MacOSX10.5.sdk
|
||||
ARCH_CFLAGS="-isysroot /Developer/SDKs/MacOSX10.5.sdk"
|
||||
ARCH_MACOSX_VERSION_MIN="10.5"
|
||||
else
|
||||
ARCH_MACOSX_VERSION_MIN="10.7"
|
||||
fi
|
||||
|
||||
|
||||
|
@ -68,4 +70,5 @@ NCPU=`sysctl -n hw.ncpu`
|
|||
(ARCH=${BUILDARCH} CFLAGS=$ARCH_CFLAGS MACOSX_VERSION_MIN=$ARCH_MACOSX_VERSION_MIN make -j$NCPU) || exit 1;
|
||||
|
||||
# use the following shell script to build an application bundle
|
||||
export MACOSX_DEPLOYMENT_TARGET="${ARCH_MACOSX_VERSION_MIN}"
|
||||
"./make-macosx-app.sh" release ${BUILDARCH}
|
||||
|
|
Loading…
Reference in a new issue