summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dc88cca)
raw | patch | inline | side by side (parent: dc88cca)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 23 Apr 2007 05:43:07 +0000 (07:43 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 23 Apr 2007 05:43:07 +0000 (07:43 +0200) |
src/Makefile.am | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index 72d67b3be3c0410015048ef75c409009b0a3979d..a230283277665bda2465ad9133860aa8ca262f9a 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
if BUILD_MODULE_UNIXSOCK
pkglib_LTLIBRARIES += unixsock.la
unixsock_la_SOURCES = unixsock.c
-unixsock_la_LDFLAGS = -module -avoid-version
-if BUILD_WITH_LIBPTHREAD
-unixsock_la_LDFLAGS += -lpthread
-endif
+unixsock_la_CPPFLAGS = -DPREFIX='"${prefix}"'
+unixsock_la_LDFLAGS = -module -avoid-version -lpthread
collectd_LDADD += "-dlopen" unixsock.la
collectd_DEPENDENCIES += unixsock.la
endif