diff --git a/openldap.spec b/openldap.spec index a4203c7..2c1dc1c 100644 --- a/openldap.spec +++ b/openldap.spec @@ -342,7 +342,7 @@ make %{_smp_mflags} LIBTOOL="$libtool" # Build the servers with Kerberos support (for password checking, mainly). LIBS=-lpthread; export LIBS -LD_LIBRARY_PATH=${dbdir}/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}; export LD_LIBRARY_PATH +LD_LIBRARY_PATH=${dbdir}/%{_lib}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}; export LD_LIBRARY_PATH pushd openldap-%{version_22}/build-servers build \ --enable-plugins \