Commit c266ec7e authored by David Woodhouse's avatar David Woodhouse Committed by Youness Alaoui

Fix check-symbols test for PPC64

parent 9731cc38
......@@ -37,11 +37,18 @@ AM_CFLAGS = \
test-symbols.sh::
chmod +x $(srcdir)/$@
libnice.symbols: libnice.sym
libnice-symbols-test.c: libnice.sym Makefile
rm -f $@
while read s; do echo "T $$s"; done < $? > $@
while read s; do echo "void $$s(void) { }" ; done < $< > $@
CLEANFILES += libnice.symbols
libnice-symbols-test.o: libnice-symbols-test.c
$(CC) $(CFLAGS) -c -o $@ $<
libnice.symbols: libnice-symbols-test.o Makefile
rm -f $@
$(top_srcdir)/scripts/make-symbol-list.sh $< >$@
CLEANFILES += libnice.symbols libnice-symbols-test.c libnice-symbols-test.o
check_SCRIPTS = test-symbols.sh
check_DATA = libnice.symbols
......
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