Update check-libstdc++ for clang

This commit is contained in:
Behdad Esfahbod 2015-04-23 18:56:24 -07:00
parent 8f0a4d6714
commit 97942420bb
1 changed files with 3 additions and 3 deletions

View File

@ -19,9 +19,9 @@ for suffix in so dylib; do
so=.libs/libharfbuzz.$suffix so=.libs/libharfbuzz.$suffix
if ! test -f "$so"; then continue; fi if ! test -f "$so"; then continue; fi
echo "Checking that we are not linking to libstdc++" echo "Checking that we are not linking to libstdc++ or libc++"
if ldd $so | grep 'libstdc[+][+]'; then if ldd $so | grep 'libstdc[+][+]\|libc[+][+]'; then
echo "Ouch, linked to libstdc++" echo "Ouch, linked to libstdc++ or libc++"
stat=1 stat=1
fi fi
tested=true tested=true