From 26a00c0a98d54e058dd38d13af01668c4f30c3f0 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Fri, 3 Jun 2016 20:42:36 +0200 Subject: [PATCH] openldap plugin: use CPPFLAGS instead of CFLAGS --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 77784b24..abc560bd 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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 -- 2.11.0