Fix stale use of get_target_sdk (#57)
This commit is contained in:
parent
dbbc044387
commit
4837f567f5
|
@ -108,7 +108,6 @@ for TARGETDIR in `ls -d *.sdk`; do
|
||||||
echo "Assembling .dylib for $PLATFORM $SDKVERSION ($ARCH)"
|
echo "Assembling .dylib for $PLATFORM $SDKVERSION ($ARCH)"
|
||||||
|
|
||||||
MIN_SDK_VERSION=$(get_min_sdk "${TARGETDIR}/lib/libcrypto.a")
|
MIN_SDK_VERSION=$(get_min_sdk "${TARGETDIR}/lib/libcrypto.a")
|
||||||
TARGET_SDK_VERSION=$(get_target_sdk "${TARGETDIR}/lib/libcrypto.a")
|
|
||||||
if [[ $PLATFORM == AppleTVSimulator* ]]; then
|
if [[ $PLATFORM == AppleTVSimulator* ]]; then
|
||||||
MIN_SDK="-platform_version tvos-simulator $MIN_SDK_VERSION $SDKVERSION"
|
MIN_SDK="-platform_version tvos-simulator $MIN_SDK_VERSION $SDKVERSION"
|
||||||
elif [[ $PLATFORM == AppleTV* ]]; then
|
elif [[ $PLATFORM == AppleTV* ]]; then
|
||||||
|
|
Loading…
Reference in New Issue