From 0bb6bfa69e29b1fada1dd11443c6e6cb540b0e47 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 22 Mar 2010 19:51:57 +0100 Subject: [PATCH] src/Makefile.am: Fix librabbitmq CPP- and LD-flags. --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.11.0