|
|
|
@ -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
|
|
|
|
|