From: Florian Forster Date: Mon, 22 Mar 2010 18:51:57 +0000 (+0100) Subject: src/Makefile.am: Fix librabbitmq CPP- and LD-flags. X-Git-Tag: collectd-5.0.0-beta0~28^2~37 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0bb6bfa69e29b1fada1dd11443c6e6cb540b0e47;p=collectd.git src/Makefile.am: Fix librabbitmq CPP- and LD-flags. --- diff --git a/src/Makefile.am b/src/Makefile.am index cabdc04d..723ca7ba 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -113,8 +113,8 @@ CLEANFILES = if BUILD_PLUGIN_AMQP pkglib_LTLIBRARIES += amqp.la amqp_la_SOURCES = amqp.c utils_format_json.c utils_format_json.h -amqp_la_LDFLAGS = -module -avoid-version -amqp_la_CFLAGS = $(BUILD_WITH_LIBRABBITMQ_CFLAGS) +amqp_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_LIBRABBITMQ_LDFLAGS) +amqp_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBRABBITMQ_CPPFLAGS) amqp_la_LIBADD = $(BUILD_WITH_LIBRABBITMQ_LIBS) collectd_LDADD += "-dlopen" amqp.la collectd_DEPENDENCIES += amqp.la