From 30e8bf54b81adb7e99cd5bf012c4ab63fdb8a884 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Thu, 13 Dec 2012 23:08:50 +0100 Subject: [PATCH] Fix tools for windows --- tools/Makefile.am | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/tools/Makefile.am b/tools/Makefile.am index 0c9f7e53..9e0c9455 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -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 -- 2.39.2