From: Ruben Kerkhof Date: Fri, 3 Jun 2016 18:49:48 +0000 (+0200) Subject: write_redis: append to CPPFLAGS, not CFLAGS X-Git-Tag: collectd-5.6.0~265 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c3adfd513cf40cdd32ddd159e9cdba989f23a429;p=collectd.git write_redis: append to CPPFLAGS, not CFLAGS --- diff --git a/src/Makefile.am b/src/Makefile.am index 9b040fc1..babe3f2c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1223,7 +1223,7 @@ if BUILD_PLUGIN_WRITE_REDIS pkglib_LTLIBRARIES += write_redis.la write_redis_la_SOURCES = write_redis.c write_redis_la_LDFLAGS = $(PLUGIN_LDFLAGS) $(BUILD_WITH_LIBHIREDIS_LDFLAGS) -write_redis_la_CFLAGS = $(AM_CFLAGS) $(BUILD_WITH_LIBHIREDIS_CPPFLAGS) +write_redis_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBHIREDIS_CPPFLAGS) write_redis_la_LIBADD = -lhiredis endif