mirror of
https://github.com/libretro/libretro-super
synced 2024-11-28 11:14:11 +00:00
This makes iOS builds possible on Xcode < 5.
This commit is contained in:
parent
b05fe5d68e
commit
67c1d7b292
@ -28,9 +28,10 @@ case "$platform" in
|
||||
FORMAT=_ios
|
||||
FORMAT_COMPILER_TARGET=ios
|
||||
FORMAT_COMPILER_TARGET_ALT=ios
|
||||
export IOSSDK=$(xcrun -sdk iphoneos -show-sdk-path)
|
||||
IOSVER_MAJOR=$(xcrun -sdk iphoneos -show-sdk-platform-version | cut -c '1')
|
||||
IOSVER_MINOR=$(xcrun -sdk iphoneos -show-sdk-platform-version | cut -c '3')
|
||||
export IOSSDK=$(xcodebuild -version -sdk iphoneos Path)
|
||||
iosver=$(xcodebuild -version -sdk iphoneos ProductVersion)
|
||||
IOSVER_MAJOR=${iosver%.*}
|
||||
IOSVER_MINOR=${iosver#*.}
|
||||
IOSVER=${IOSVER_MAJOR}${IOSVER_MINOR}
|
||||
|
||||
# Apple requires this stuff
|
||||
|
Loading…
Reference in New Issue
Block a user