1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

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";