summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-11-13 07:28:02 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-11-13 07:28:02 +0000
commit0ff36a95d3ab972290c3d66bad6e721298cf0ba3 (patch)
treee859709bb34fa42e0a1ecea088db50700f2d56b3
parent150f9b6873e4ec8473194bdfdc0b05b4d0d37158 (diff)
Link the Expat library
-rw-r--r--common/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index 182d574e1..f709ecaba 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -1,8 +1,10 @@
if EXPAT
sdp_sources = sdp-expat.c
+sdp_libadd = /usr/lib/libexpat.a
else
sdp_sources = sdp-dummy.c
+sdp_libadd =
endif
noinst_LIBRARIES = libhelper.a
@@ -12,6 +14,8 @@ libhelper_a_SOURCES = oui.h oui.c list.h list.c \
glib-ectomy.h glib-ectomy.c logging.h logging.c \
dbus.h dbus.c sdp-xml.h sdp-xml.c $(sdp_sources)
+libhelper_a_LIBADD = $(sdp_libadd)
+
noinst_PROGRAMS = test_textfile
test_textfile_LDADD = libhelper.a