Code

write_redis: append to CPPFLAGS, not CFLAGS
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 18:49:48 +0000 (20:49 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 18:49:48 +0000 (20:49 +0200)
src/Makefile.am

index 9b040fc1fafea26e9ad4a9c152afcba57580e5bf..babe3f2c0d8623f1e2db3d8cbe30483353eb4d7d 100644 (file)
@@ -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