summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-slapi-plugins/topology
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2017-03-15 05:14:25 +0000
committerJan Cholasta <jcholast@redhat.com>2017-03-15 08:55:12 +0000
commitb7329e31f5c985b9721e3a21b1cd1bec6430129d (patch)
tree74e4c19de3ac0af373ccead7c2d04a6dcf8ff8c9 /daemons/ipa-slapi-plugins/topology
parent1cdd5dee006426c996f67240b6cb2c1aa05e5168 (diff)
downloadfreeipa-b7329e31f5c985b9721e3a21b1cd1bec6430129d.tar.gz
freeipa-b7329e31f5c985b9721e3a21b1cd1bec6430129d.tar.xz
freeipa-b7329e31f5c985b9721e3a21b1cd1bec6430129d.zip
slapi plugins: fix CFLAGS
Add explicit NSPR_CFLAGS and NSS_CFLAGS where NSPR_LIBS and NSS_LIBS is used. Use DIRSRV_CFLAGS rather than hardcode -I/usr/include/dirsrv. Append NSPR_CFLAGS to DIRSRV_CFLAGS in ./configure as slapi-plugin.h includes nspr.h. Reviewed-By: Pavel Vomacka <pvomacka@redhat.com>
Diffstat (limited to 'daemons/ipa-slapi-plugins/topology')
-rw-r--r--daemons/ipa-slapi-plugins/topology/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/ipa-slapi-plugins/topology/Makefile.am b/daemons/ipa-slapi-plugins/topology/Makefile.am
index 1d86bd009..4f0b5a010 100644
--- a/daemons/ipa-slapi-plugins/topology/Makefile.am
+++ b/daemons/ipa-slapi-plugins/topology/Makefile.am
@@ -5,12 +5,12 @@ PLUGIN_COMMON_DIR = $(srcdir)/../common
AM_CPPFLAGS = \
-I$(srcdir) \
-I$(PLUGIN_COMMON_DIR) \
- -I/usr/include/dirsrv \
-DPREFIX=\""$(prefix)"\" \
-DBINDIR=\""$(bindir)"\" \
-DLIBDIR=\""$(libdir)"\" \
-DLIBEXECDIR=\""$(libexecdir)"\" \
-DDATADIR=\""$(datadir)"\" \
+ $(DIRSRV_CFLAGS) \
$(LDAP_CFLAGS) \
$(WARN_CFLAGS) \
$(NULL)