Add also Mozilla NSS crypto for LDAP, as it requires it now. Patch by Rich
Megginson
This commit is contained in:
parent
f9fb20cabd
commit
0f83fd68cc
@ -141,6 +141,13 @@ if pkg-config openssl ; then
|
||||
else
|
||||
export LIBS="-lsasl2 -lssl -lcrypto"
|
||||
fi
|
||||
# newer versions of openldap are built with Mozilla NSS crypto, so also need
|
||||
# those libs to link with the static ldap libs
|
||||
if pkg-config nss ; then
|
||||
export LIBS="$LIBS `pkg-config --libs nss`"
|
||||
else
|
||||
export LIBS="$LIBS -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4"
|
||||
fi
|
||||
%else
|
||||
%define ldap_flags --with-openldap=yes
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user