aboutsummaryrefslogtreecommitdiff
path: root/tools/darwin
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2019-03-03 16:17:32 +0100
committerMemphiz <memphis@machzwo.de>2019-03-03 16:17:32 +0100
commit6d8502211f03ab8df1407819c9fe4bd67354067d (patch)
tree0897b13e68e78018acd68b87e26b9df700b7d345 /tools/darwin
parenta1e187db7b53f01aaf09194f8b89368341d2d52a (diff)
[ios/cmake] - ensure that CURRENT_ARCH is set by cmake when calling Codesing.command
Diffstat (limited to 'tools/darwin')
-rwxr-xr-xtools/darwin/Support/Codesign.command2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/darwin/Support/Codesign.command b/tools/darwin/Support/Codesign.command
index 84ff08fe88..1265000f8e 100755
--- a/tools/darwin/Support/Codesign.command
+++ b/tools/darwin/Support/Codesign.command
@@ -13,7 +13,7 @@ LDID32="$NATIVEPREFIX/bin/ldid32"
LDID64="$NATIVEPREFIX/bin/ldid64"
LDID=${LDID32}
-if [ "${CURRENT_ARCH}" == "arm64" ]; then
+if [ "${CURRENT_ARCH}" == "arm64" ] || [ "${CURRENT_ARCH}" == "aarch64" ]; then
LDID=${LDID64}
echo "using LDID64"
else