From da87e61754061c164fda43006aa7a97567aaf93b Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 23 Apr 2007 07:43:07 +0200 Subject: [PATCH] src/Makefile.am: Define `PREFIX' for the unixsock plugin. --- src/Makefile.am | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 72d67b3b..a2302832 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -509,10 +509,8 @@ endif 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 -- 2.30.2