summaryrefslogtreecommitdiff
path: root/data/libgcc
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-08-15 09:06:30 +0000
committerJay Freeman <saurik@saurik.com>2009-08-15 09:06:30 +0000
commit9f7df9aa2a95a1596149ca5d98aa695ad203d449 (patch)
tree829dc9e21100554d03f5ca1db9b88d41ad6dc10a /data/libgcc
parent3bd91812f630f9be5b22117a0f2cf9923c1260db (diff)
Various things I forgot to commit.
git-svn-id: http://svn.telesphoreo.org/trunk@673 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/libgcc')
-rw-r--r--data/libgcc/_metadata/zlib1
-rwxr-xr-xdata/libgcc/make.sh11
2 files changed, 8 insertions, 4 deletions
diff --git a/data/libgcc/_metadata/zlib b/data/libgcc/_metadata/zlib
new file mode 100644
index 000000000..d234d64b1
--- /dev/null
+++ b/data/libgcc/_metadata/zlib
@@ -0,0 +1 @@
+gzip
diff --git a/data/libgcc/make.sh b/data/libgcc/make.sh
index 9418ff2f7..119642f08 100755
--- a/data/libgcc/make.sh
+++ b/data/libgcc/make.sh
@@ -1,8 +1,11 @@
pkg: mkdir -p /usr/lib
-prefix=$(dirname "$(which "${PKG_TARG}-gcc")")/..
+for ver in 10.4 10.5; do
+ libgcc=lib/libgcc_s.${ver}.dylib
+ cp -a "/apl/sys/2b6/${libgcc}" "${PKG_DEST}/usr/lib"
+done
for ver in 1; 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}"
+ cp -a "/apl/sys/2b6/${libgcc}" "${PKG_DEST}/usr/lib"
+ pkg: "${PKG_TARG}-strip" -x -no_uuid "/usr/${libgcc}"
+ pkg: ldid -T- "/usr/${libgcc}"
done