summaryrefslogtreecommitdiff
path: root/helper.sh
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-05-17 17:16:09 -1000
committerSam Bingner <sam@bingner.com>2019-05-17 17:16:09 -1000
commitb3d0160fb6bcf2b9429907cd6273578f624182ea (patch)
tree8b3a015912b9f819a56ea04cbdf2538b49e87fb4 /helper.sh
parentee89492de4409b2244c9d13dc317dd7f757a4501 (diff)
Build system updates
Diffstat (limited to 'helper.sh')
-rwxr-xr-xhelper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper.sh b/helper.sh
index 0c8953b92..44beaffc1 100755
--- a/helper.sh
+++ b/helper.sh
@@ -4,7 +4,7 @@ source "${PKG_BASE}/architect.sh"
export FAKEROOT="fakeroot -i \"${PKG_BASE}/.fakeroot\" -s \"${PKG_BASE}/.fakeroot\""
-export PKG_ROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk
+export PKG_ROOT="$(xcrun -sdk ${PKG_SDK} --show-sdk-path)"
export PKG_CCPF=$("${PKG_TARG}-gcc" -v 2>&1 | grep -- --prefix | sed -e 's/.*--prefix=\([^ ]*\).*/\1/')
source "${PKG_BASE}/folders.sh"