From 44733bbe7d0585c9e459132053bd372ce0ba1630 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 25 Jan 2012 11:47:37 +0100 Subject: [PATCH] write_mongodb plugin: Fix the use of {CPP,LD}FLAGS. Change-Id: Ieb8467d3c1d0fac819864ff873594432170289d3 --- src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 40ab5382..702ee0fe 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1246,7 +1246,8 @@ endif if BUILD_PLUGIN_WRITE_MONGODB pkglib_LTLIBRARIES += write_mongodb.la write_mongodb_la_SOURCES = write_mongodb.c -write_mongodb_la_LDFLAGS = -module -avoid-version +write_mongodb_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBMONGOC_CPPFLAGS) +write_mongodb_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_LIBMONGOC_LDFLAGS) write_mongodb_la_LIBADD = -lmongoc collectd_LDADD += "-dlopen" write_mongodb.la collectd_DEPENDENCIES += write_mongodb.la -- 2.30.2