X-Git-Url: https://git.saurik.com/apple/libsystem.git/blobdiff_plain/a85a94cf99b5880b6784caafe53f9b64b0efe02d..b12e72edd086fad5ada5f7fe2fdf049e0370ae4e:/xcodescripts/create_system_framework.sh diff --git a/xcodescripts/create_system_framework.sh b/xcodescripts/create_system_framework.sh index e3a99ff..5713d0d 100755 --- a/xcodescripts/create_system_framework.sh +++ b/xcodescripts/create_system_framework.sh @@ -5,7 +5,7 @@ if [ $# -ne 5 ]; then exit 1 fi -DSTROOT="$1${INSTALL_PATH_PREFIX}" +DSTROOT="$1${INSTALL_PATH_FRAMEWORK_PREFIX}" SRCROOT="$2" ACTION="$3" ARCHS="$4" @@ -22,6 +22,8 @@ mkdir -p "${DSTROOT}/${FPATH}/Versions/B" || exit 1 ln -sf "B" "${DSTROOT}/${FPATH}/Versions/Current" || exit 1 ln -sf "Versions/Current/PrivateHeaders" "${DSTROOT}/${FPATH}/PrivateHeaders" || exit 1 +if [[ "${DRIVERKIT}" == "1" ]]; then exit 0; fi; # No compatibility symlinks in DriverKit SDK + if [[ "${PLATFORM_NAME}" =~ macosx ]]; then ln -sf "Versions/Current/Resources" "${DSTROOT}/${FPATH}/Resources" || exit 1