From 97942420bbee1bc6953d5f805621066301fa17ca Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 23 Apr 2015 18:56:24 -0700 Subject: [PATCH] Update check-libstdc++ for clang --- src/check-libstdc++.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/check-libstdc++.sh b/src/check-libstdc++.sh index 27deb42dc..b541828bc 100755 --- a/src/check-libstdc++.sh +++ b/src/check-libstdc++.sh @@ -19,9 +19,9 @@ for suffix in so dylib; do so=.libs/libharfbuzz.$suffix if ! test -f "$so"; then continue; fi - echo "Checking that we are not linking to libstdc++" - if ldd $so | grep 'libstdc[+][+]'; then - echo "Ouch, linked to libstdc++" + echo "Checking that we are not linking to libstdc++ or libc++" + if ldd $so | grep 'libstdc[+][+]\|libc[+][+]'; then + echo "Ouch, linked to libstdc++ or libc++" stat=1 fi tested=true