From: Behdad Esfahbod Date: Thu, 13 May 2010 03:48:40 +0000 (-0400) Subject: Improve check for internal symbols X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f93518a634cb1852bf050877db23b9b9203ad03;p=platform%2Fupstream%2FlibHarfBuzzSharp.git Improve check for internal symbols --- diff --git a/src/check-internal-symbols.sh b/src/check-internal-symbols.sh index 7558518..124a7b0 100755 --- a/src/check-internal-symbols.sh +++ b/src/check-internal-symbols.sh @@ -17,7 +17,7 @@ stat=0 so=.libs/libharfbuzz.so if test -f "$so"; then echo "Checking that we are exposing internal symbols" - if nm $so | grep ' T _hb'; then + if nm $so | grep ' T ' | grep -v ' T _fini\>\| T _init\>\| T hb_'; then echo "Ouch, internal symbols exposed" stat=1 fi