summaryrefslogtreecommitdiffstats
path: root/avahi-common
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-11-18 18:43:37 +0000
committerLennart Poettering <lennart@poettering.net>2005-11-18 18:43:37 +0000
commitf5045a44950e3e39d24dc3f226e847a3df662dc2 (patch)
treeb64ac935d4f8ac7cc6dfdd434f230d3b88ae88de /avahi-common
parenta39197d2e9409355a31da566d1fafe9d0e286656 (diff)
add pthread cflags/libs to avahi-common build
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1002 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common')
-rw-r--r--avahi-common/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/avahi-common/Makefile.am b/avahi-common/Makefile.am
index 670c855..912b7a9 100644
--- a/avahi-common/Makefile.am
+++ b/avahi-common/Makefile.am
@@ -64,8 +64,8 @@ libavahi_common_la_SOURCES = \
watch.h gccmacro.h \
rlist.h rlist.c
-libavahi_common_la_CFLAGS = $(AM_CFLAGS)
-libavahi_common_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info $(LIBAVAHI_COMMON_VERSION_INFO)
+libavahi_common_la_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
+libavahi_common_la_LDFLAGS = $(AM_LDFLAGS) $(PTHREAD_LIBS) -export-dynamic -version-info $(LIBAVAHI_COMMON_VERSION_INFO)
strlst_test_SOURCES = \
strlst.c strlst.h \
@@ -92,12 +92,14 @@ watch_test_SOURCES = \
watch.h \
malloc.c malloc.h \
watch-test.c
-watch_test_CFLAGS = $(AM_CFLAGS)
+watch_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
+watch_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS)
timeval_test_SOURCES = \
timeval.c timeval.h \
timeval-test.c
-timeval_test_CFLAGS = $(AM_CFLAGS)
+timeval_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
+timeval_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS)
if HAVE_DBUS