summaryrefslogtreecommitdiff
path: root/data/ld64/make.sh
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-10-15 11:20:05 -1000
committerSam Bingner <sam@bingner.com>2018-10-15 11:20:05 -1000
commitb02648341a24191aef60ef3a8bd3bcf99d5cce52 (patch)
tree5e85bdd8c78ba9d33c177bad401510259c0c2cd2 /data/ld64/make.sh
parent24f6d59354df69788c96f26e8c046a50c383c886 (diff)
Update odcctools and ld64 to add ents automatically on phone and fix version of ldid and name of gnupg
Diffstat (limited to 'data/ld64/make.sh')
-rw-r--r--data/ld64/make.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/ld64/make.sh b/data/ld64/make.sh
index 831f083f4..35f143104 100644
--- a/data/ld64/make.sh
+++ b/data/ld64/make.sh
@@ -1,4 +1,10 @@
pkg:setup
pkg:make
pkg:install
+pkg: mv /usr/bin/ld64 /usr/bin/ld64_
pkg: ln -s ld64 /usr/bin/ld
+pkg: "${PKG_TARG}-gcc" %/wrapper.c -o /usr/bin/ld64
+if [[ -f "${PKG_BASE}/arch/${PKG_ARCH}/${PKG_CFTARG}/entitlement.xml" ]]; then
+ pkg: mkdir -p /usr/share/ldid
+ cp "${PKG_BASE}/arch/${PKG_ARCH}/${PKG_CFTARG}/entitlement.xml" "${PKG_DEST}/usr/share/ldid/entitlements.xml"
+fi