diff options
| author | Jan Cholasta <jcholast@redhat.com> | 2017-03-15 05:14:25 +0000 |
|---|---|---|
| committer | Jan Cholasta <jcholast@redhat.com> | 2017-03-15 08:55:12 +0000 |
| commit | b7329e31f5c985b9721e3a21b1cd1bec6430129d (patch) | |
| tree | 74e4c19de3ac0af373ccead7c2d04a6dcf8ff8c9 /daemons/ipa-slapi-plugins/ipa-enrollment | |
| parent | 1cdd5dee006426c996f67240b6cb2c1aa05e5168 (diff) | |
| download | freeipa-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/ipa-enrollment')
| -rw-r--r-- | daemons/ipa-slapi-plugins/ipa-enrollment/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-enrollment/Makefile.am b/daemons/ipa-slapi-plugins/ipa-enrollment/Makefile.am index 4ce32c44c..319a869a6 100644 --- a/daemons/ipa-slapi-plugins/ipa-enrollment/Makefile.am +++ b/daemons/ipa-slapi-plugins/ipa-enrollment/Makefile.am @@ -10,6 +10,7 @@ AM_CPPFLAGS = \ -DLIBDIR=\""$(libdir)"\" \ -DLIBEXECDIR=\""$(libexecdir)"\" \ -DDATADIR=\""$(datadir)"\" \ + $(DIRSRV_CFLAGS) \ $(LDAP_CFLAGS) \ $(KRB5_CFLAGS) \ $(WARN_CFLAGS) \ |
