Code

mqtt plugin: properly set CPPFLAGS in Makefile
authorMarc Fournier <marc.fournier@camptocamp.com>
Wed, 8 Jul 2015 22:24:21 +0000 (00:24 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Wed, 8 Jul 2015 22:24:21 +0000 (00:24 +0200)
This fixes the build when the --with-libmosquitto option is used.

src/Makefile.am

index 0ca9b7186ba13ba985f8f3f4974a79f87c22a09b..c4504acf5181028643fc76247aa53fe21370dc4a 100644 (file)
@@ -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