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:
parent
dfd4ada456
commit
ec498cf022
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue