summaryrefslogtreecommitdiffstats
path: root/avahi-common/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-11-25 01:19:31 +0000
committerLennart Poettering <lennart@poettering.net>2005-11-25 01:19:31 +0000
commitdf28cc51c00a958d25f7ebd7b5b0d7fb9af0b8e1 (patch)
tree20ed9d5e683ddac59f824a9ffffe04c8fa46ce3c /avahi-common/Makefile.am
parent14b8e77f72911a2e33312a1a9860d5c2672992b6 (diff)
Fix compilation with -pthread
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1034 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common/Makefile.am')
-rw-r--r--avahi-common/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/avahi-common/Makefile.am b/avahi-common/Makefile.am
index ff436ae..f9fdef4 100644
--- a/avahi-common/Makefile.am
+++ b/avahi-common/Makefile.am
@@ -65,7 +65,7 @@ libavahi_common_la_SOURCES = \
rlist.h rlist.c
libavahi_common_la_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
-libavahi_common_la_LDFLAGS = $(AM_LDFLAGS) $(PTHREAD_LIBS) -export-dynamic -version-info $(LIBAVAHI_COMMON_VERSION_INFO)
+libavahi_common_la_LDFLAGS = $(AM_LDFLAGS) $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) -export-dynamic -version-info $(LIBAVAHI_COMMON_VERSION_INFO)
strlst_test_SOURCES = \
strlst.c strlst.h \
@@ -93,13 +93,13 @@ watch_test_SOURCES = \
malloc.c malloc.h \
watch-test.c
watch_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
-watch_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS)
+watch_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS) $(PTHREAD_CFLAGS)
timeval_test_SOURCES = \
timeval.c timeval.h \
timeval-test.c
timeval_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
-timeval_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS)
+timeval_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS) $(PTHREAD_CFLAGS)
if HAVE_DBUS