[csw-devel] [PATCH 1/2] Use libcompat in tests

Maciej Blizinski maciej at opencsw.org
Thu Mar 1 00:55:48 CET 2012


Otherwise:

Undefined                       first referenced
 symbol                             in file
asprintf                            url.o
ld: fatal: Symbol referencing errors. No output written to test_url
---
 src/test/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/test/Makefile.am b/src/test/Makefile.am
index 71f6768..128aecd 100644
--- a/src/test/Makefile.am
+++ b/src/test/Makefile.am
@@ -15,7 +15,8 @@ TESTS = $(check_PROGRAMS)
 
 AM_CFLAGS = $(CFLAGS_libvlccore)
 AM_LDFLAGS = -no-install
-LDADD = ../libvlccore.la
+LDADD = ../libvlccore.la \
+				../../compat/libcompat.la
 
 test_block_SOURCES = block_test.c ../misc/block.c
 test_block_LDADD = $(LDADD) $(LIBS_libvlccore)
-- 
1.7.9



More information about the devel mailing list