src/Makefile.am: Fix librabbitmq CPP- and LD-flags.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 22 Mar 2010 18:51:57 +0000 (19:51 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Wed, 4 Aug 2010 13:13:50 +0000 (15:13 +0200)
src/Makefile.am

index cabdc04..723ca7b 100644 (file)
@@ -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