Code

openldap plugin: use CPPFLAGS instead of CFLAGS
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 18:42:36 +0000 (20:42 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 18:43:01 +0000 (20:43 +0200)
src/Makefile.am

index 77784b24d99c04ffc35f6a3e5d2dd5d970fe3c02..abc560bd4b9dd4b1feedf9086bbf546b4f871ce4 100644 (file)
@@ -764,8 +764,8 @@ endif
 if BUILD_PLUGIN_OPENLDAP
 pkglib_LTLIBRARIES += openldap.la
 openldap_la_SOURCES = openldap.c
+openldap_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBLDAP_CPPFLAGS)
 openldap_la_LDFLAGS = $(PLUGIN_LDFLAGS) $(BUILD_WITH_LIBLDAP_LDFLAGS)
-openldap_la_CFLAGS = $(AM_CFLAGS) $(BUILD_WITH_LIBLDAP_CPPFLAGS)
 openldap_la_LIBADD = -lldap
 endif