blob: e08fc20dfb871696cef42c4d66c01c15946796a2 (
plain)
1
2
3
4
5
6
7
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
|