summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ca039cc)
raw | patch | inline | side by side (parent: ca039cc)
author | Florian Forster <octo@collectd.org> | |
Wed, 25 Jan 2012 10:47:37 +0000 (11:47 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 25 Jan 2012 10:47:37 +0000 (11:47 +0100) |
Change-Id: Ieb8467d3c1d0fac819864ff873594432170289d3
src/Makefile.am | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index 40ab5382261aa8e5be8442e55139ed0fd17620d2..702ee0fe225969840955a9af81f5d2a039ed8590 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
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