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

Maciej Blizinski maciej at opencsw.org
Thu Mar 1 09:37:48 CET 2012


Otherwise:

Undefined                       first referenced
 symbol                             in file
asprintf                            url.o
ld: fatal: Symbol referencing errors. No output written to test_url

This patch uses a mix of tabs and spaces to match the existing convention.
---
 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..25e5d50 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.5.4




More information about the vlc-devel mailing list