mirror of
https://github.com/libretro/libretro-super
synced 2024-11-28 11:14:11 +00:00
(iOS) Change IOSSDKLOC to IOSSDK and export it
This commit is contained in:
parent
edb3dfba88
commit
650d211b23
@ -14,12 +14,13 @@ MAKE=make
|
|||||||
CXX11="clang++ -std=c++11 -stdlib=libc++ -miphoneos-version-min=5.0"
|
CXX11="clang++ -std=c++11 -stdlib=libc++ -miphoneos-version-min=5.0"
|
||||||
IOS=1
|
IOS=1
|
||||||
|
|
||||||
IOSSDKLOC=$(xcrun -sdk iphoneos -show-sdk-path)
|
IOSSDK=$(xcrun -sdk iphoneos -show-sdk-path)
|
||||||
IOSVER_MAJOR=$(xcrun -sdk iphoneos -show-sdk-platform-version | cut -c '1')
|
IOSVER_MAJOR=$(xcrun -sdk iphoneos -show-sdk-platform-version | cut -c '1')
|
||||||
IOSVER_MINOR=$(xcrun -sdk iphoneos -show-sdk-platform-version | cut -c '3')
|
IOSVER_MINOR=$(xcrun -sdk iphoneos -show-sdk-platform-version | cut -c '3')
|
||||||
IOSVER=${IOSVER_MAJOR}${IOSVER_MINOR}
|
IOSVER=${IOSVER_MAJOR}${IOSVER_MINOR}
|
||||||
echo "iOS path: ${IOSSDKLOC}"
|
echo "iOS path: ${IOSSDKLOC}"
|
||||||
echo "iOS version: ${IOSVER}"
|
echo "iOS version: ${IOSVER}"
|
||||||
|
export IOSSDK
|
||||||
|
|
||||||
. ./libretro-build-common.sh
|
. ./libretro-build-common.sh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user