Commit 3058c07a authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

src/check_symbols: More work around and fixes for symbol detection.

parent 85a11b9c
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
rm -f libvlc-headers.sym rm -f libvlc-headers.sym
cat ${srcdir}/../include/vlc_*.h | \ 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_]*//' | \ 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 if ! diff -u ${srcdir}/libvlc.sym libvlc-headers.sym; then
echo "Mismatching symbols found!" echo "Mismatching symbols found!"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment