From: Florian Forster Date: Mon, 23 Apr 2007 05:43:07 +0000 (+0200) Subject: src/Makefile.am: Define `PREFIX' for the unixsock plugin. X-Git-Tag: collectd-4.0.0~67 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=da87e61754061c164fda43006aa7a97567aaf93b;p=collectd.git src/Makefile.am: Define `PREFIX' for the unixsock plugin. --- 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