summaryrefslogtreecommitdiff
path: root/data/libgcc/make.sh
diff options
context:
space:
mode:
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