From: Marc Fournier Date: Wed, 8 Jul 2015 22:24:21 +0000 (+0200) Subject: mqtt plugin: properly set CPPFLAGS in Makefile X-Git-Tag: collectd-5.6.0~637^2~1^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=84d1ececf064d50b435e1c15c2d84347926298ab;p=collectd.git mqtt plugin: properly set CPPFLAGS in Makefile This fixes the build when the --with-libmosquitto option is used. --- diff --git a/src/Makefile.am b/src/Makefile.am index 0ca9b718..c4504acf 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -642,6 +642,7 @@ pkglib_LTLIBRARIES += mqtt.la mqtt_la_SOURCES = mqtt.c mqtt_la_LDFLAGS = $(PLUGIN_LDFLAGS) mqtt_la_CFLAGS = $(AM_CFLAGS) $(BUILD_WITH_LIBMOSQUITTO_CFLAGS) +mqtt_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBMOSQUITTO_CPPFLAGS) mqtt_la_LIBADD = $(BUILD_WITH_LIBMOSQUITTO_LIBS) endif