]> sjero.net Git - linphone/commitdiff
Fix tools for windows
authorYann Diorcet <yann.diorcet@belledonne-communications.com>
Thu, 13 Dec 2012 22:08:50 +0000 (23:08 +0100)
committerYann Diorcet <yann.diorcet@belledonne-communications.com>
Thu, 13 Dec 2012 22:08:50 +0000 (23:08 +0100)
tools/Makefile.am

index 0c9f7e53ba5a4f0791d22fe772dc67dcc265e55f..9e0c945505c1aaa77d9e97ba55600784ac23f813 100644 (file)
@@ -15,16 +15,25 @@ if BUILD_TOOLS
 
 lib_LTLIBRARIES=libxml2lpc.la
 
-libxml2lpc_la_SOURCES=xml2lpc.c xml2lpc.h
+libxml2lpc_la_SOURCES=\
+       xml2lpc.c \
+       xml2lpc.h
+
 libxml2lpc_la_CFLAGS=$(COMMON_CFLAGS)
 libxml2lpc_la_LIBADD=\
-       $(LIBXML2_LIBS)
+       $(LIBXML2_LIBS) \
+       $(top_builddir)/coreapi/liblinphone.la
+
+libxml2lpc_la_LDFLAGS=-no-undefined
 
 bin_PROGRAMS=xml2lpc_test
 
-xml2lpc_test_SOURCES=xml2lpc_test.c
+xml2lpc_test_SOURCES=\
+       xml2lpc_test.c
+
 xml2lpc_test_CFLAGS=$(COMMON_CFLAGS)
-xml2lpc_test_LDADD=$(top_builddir)/coreapi/liblinphone.la libxml2lpc.la
+xml2lpc_test_LDADD=\
+       libxml2lpc.la
 
 endif