]> git.sesse.net Git - vlc/commitdiff
src/check_symbols: More work around and fixes for symbol detection.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 1 Feb 2008 13:00:25 +0000 (13:00 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 1 Feb 2008 13:00:25 +0000 (13:00 +0000)
src/check_symbols

index 9b65c53fdfe38cccaff3682f08cea00b6d79c730..4843891cf024dcca29ae5979335aa651bccbfa97 100755 (executable)
@@ -5,9 +5,9 @@
 rm -f libvlc-headers.sym
 
 cat ${srcdir}/../include/vlc_*.h | \
-sed -n -e 's/^\s*VLC_EXPORT\s*([^,]*,\([^,]*\).*).*/\1/p' | \
+sed -n -e 's/^[ ]*VLC_EXPORT[ ]*([^,]*,\([^,]*\),.*/\1/p' | \
 sed -e 's/[^a-zA-Z0-9_]*//' | \
-sort -du > libvlc-headers.sym
+sort -fdu > libvlc-headers.sym
 
 if ! diff -u ${srcdir}/libvlc.sym libvlc-headers.sym; then
        echo "Mismatching symbols found!"