Update check-libstdc++ for clang
This commit is contained in:
parent
8f0a4d6714
commit
97942420bb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue