From f5045a44950e3e39d24dc3f226e847a3df662dc2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 18 Nov 2005 18:43:37 +0000 Subject: [PATCH] add pthread cflags/libs to avahi-common build git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1002 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-common/Makefile.am | 10 ++++++---- 1 file 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 -- 2.39.5