summaryrefslogtreecommitdiff
path: root/data/libgcc/make.sh
blob: 9418ff2f74f5d62c8b2ff6c2779284b95b15a839 (plain)
1
2
3
4
5
6
7
8
pkg: mkdir -p /usr/lib
prefix=$(dirname "$(which "${PKG_TARG}-gcc")")/..
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}"
done