summaryrefslogtreecommitdiff
path: root/data/libgcc/make.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-04-14 23:22:48 +0000
committerJay Freeman <saurik@saurik.com>2008-04-14 23:22:48 +0000
commit7817782b2837cf98f7566e13f80b9c071ff20139 (patch)
tree452a5677d990e0d9dc9c36ac08bd4204e447afc2 /data/libgcc/make.sh
parente615a71056dfae4f19dfef86331eb030494b79b7 (diff)
Fixed some dependencies, removed mDNS fix for 2.0, and factored for multi-arch support.
git-svn-id: http://svn.telesphoreo.org/trunk@218 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/libgcc/make.sh')
-rwxr-xr-xdata/libgcc/make.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/libgcc/make.sh b/data/libgcc/make.sh
new file mode 100755
index 000000000..e08fc20df
--- /dev/null
+++ b/data/libgcc/make.sh
@@ -0,0 +1,8 @@
+pkg: mkdir -p /usr/lib
+prefix=$(dirname "$(which "${PKG_TARG}-gcc")")/..
+for ver in 1 10.4 10.5; do
+ libgcc=lib/libgcc_s.${ver}.dylib
+ cp -a "${prefix}/${PKG_TARG}/${libgcc}" "${PKG_DEST}/usr/lib"
+ #pkg: "${PKG_TARG}-strip" -x -no_uuid "/usr/${libgcc}"
+ #pkg: ldid -T- "/usr/${libgcc}"
+done