summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index 182d574e..f709ecab 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