Fix stale use of get_target_sdk (#57)

This commit is contained in:
Davide De Rosa 2023-12-16 09:49:10 +01:00 committed by GitHub
parent dbbc044387
commit 4837f567f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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