From 84d1ececf064d50b435e1c15c2d84347926298ab Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Thu, 9 Jul 2015 00:24:21 +0200 Subject: [PATCH] mqtt plugin: properly set CPPFLAGS in Makefile This fixes the build when the --with-libmosquitto option is used. --- src/Makefile.am | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2