Use --with-openldap=yes, not --with-openldap=%{_libdir}

This commit is contained in:
Milan Crha 2013-04-29 12:22:41 +02:00
parent c84130558d
commit 7a80666eec

View File

@ -128,7 +128,7 @@ mkdir -p krb5-fakeprefix/%{_lib}
%if %{ldap_support} %if %{ldap_support}
%if %{static_ldap} %if %{static_ldap}
%define ldap_flags --with-openldap=%{_libdir} --with-static-ldap %define ldap_flags --with-openldap=yes --with-static-ldap
# Set LIBS so that configure will be able to link with static LDAP libraries, # Set LIBS so that configure will be able to link with static LDAP libraries,
# which depend on Cyrus SASL and OpenSSL. XXX Is the "else" clause necessary? # which depend on Cyrus SASL and OpenSSL. XXX Is the "else" clause necessary?
if pkg-config openssl ; then if pkg-config openssl ; then