openldap: fix broken .la files

This commit is contained in:
Luca Bruno 2015-05-05 18:02:18 +02:00
parent dfd4ada456
commit ec498cf022

View File

@ -18,6 +18,13 @@ stdenv.mkDerivation rec {
dontPatchELF = 1; # !!!
# Fixup broken libtool
preFixup = ''
sed -e 's,-lsasl2,-L${cyrus_sasl}/lib -lsasl2,' \
-e 's,-lssl,-L${openssl}/lib -lssl,' \
-i $out/lib/libldap.la -i $out/lib/libldap_r.la
'';
meta = with stdenv.lib; {
homepage = http://www.openldap.org/;
description = "An open source implementation of the Lightweight Directory Access Protocol";