summaryrefslogtreecommitdiff
path: root/helper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'helper.sh')
-rwxr-xr-xhelper.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/helper.sh b/helper.sh
index 0c98e39f5..0c8953b92 100755
--- a/helper.sh
+++ b/helper.sh
@@ -2,7 +2,9 @@
source "${PKG_BASE}/architect.sh"
-export PKG_ROOT=$("${PKG_TARG}-gcc" -dumpspecs | grep '%{isysroot' | sed -e 's/.*%{isysroot\*:\([^}]*\)}.*/\1/; s/;:/\n/g' | sed -e 's/^-syslibroot //' | tail -n 1)
+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_CCPF=$("${PKG_TARG}-gcc" -v 2>&1 | grep -- --prefix | sed -e 's/.*--prefix=\([^ ]*\).*/\1/')
source "${PKG_BASE}/folders.sh"
@@ -13,7 +15,7 @@ if [[ ${PKG_NAME} != @(-|:*) ]]; then
export PKG_WORK=$(PKG_WORK_ "${PKG_NAME}")
export PKG_DEST=$(PKG_DEST_ "${PKG_NAME}")
- export PKG_STAT=${PKG_BASE}/stat/${PKG_ARCH}/${PKG_NAME}
+ export PKG_STAT=${PKG_BASE}/stat/${PKG_ARCH}/${PKG_CFTARG}/${PKG_NAME}
export PKG_DATA=$(echo "${PKG_BASE}"/data/"${PKG_NAME}"?(_))
export PKG_RVSN=$(cat "${PKG_STAT}/dest-ver" 2>/dev/null)