summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2013-01-05 17:12:36 +0100
committerMike Frysinger <vapier@gentoo.org>2013-01-12 12:16:26 -0500
commit1487cdb45f497c371ceac411091fb0adb01e6ca2 (patch)
treee2a513facf7df8e6858265f6f9ac1503aa8faf96
parentmake aware of EPREFIX offset prefix (diff)
downloadgcc-config-1487cdb45f497c371ceac411091fb0adb01e6ca2.tar.gz
gcc-config-1487cdb45f497c371ceac411091fb0adb01e6ca2.tar.bz2
gcc-config-1487cdb45f497c371ceac411091fb0adb01e6ca2.zip
gcc-config: cleanup old Darwin stuff from /lib too
Cleanup lib/libgcc_s{.1,_ppc,...}.dylib for Darwin hosts. Signed-off-by: Fabian Groffen <grobian@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-xgcc-config4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc-config b/gcc-config
index b4ed712..3b3941a 100755
--- a/gcc-config
+++ b/gcc-config
@@ -306,9 +306,9 @@ handle_split_usr() {
# If /usr isn't a sep mount, then don't bother with linking stuff.
if ln "${ROOT}/${LDPATH}/libgcc.a" "${EROOT}"/lib/.gcc.config.$$ 2>/dev/null ; then
rm -f "${EROOT}"/lib/.gcc.config.$$
- if [[ -n $(find "${EROOT}"/lib*/lib{gcc_s,unwind}.so* 2>/dev/null) ]] ; then
+ if [[ -n $(find "${EROOT}"/lib*/lib{gcc_s,unwind}{.so*,*dylib} 2>/dev/null) ]] ; then
# If we previously had stuff in /, make sure ldconfig gets re-run.
- rm -f "${EROOT}"/lib*/lib{gcc_s,unwind}.so*
+ rm -f "${EROOT}"/lib*/lib{gcc_s,unwind}{.so*,*dylib}
return 1
fi
return 0