3
0
Fork 0
forked from mirrors/nixpkgs

Revert "openldap: Remove dontPatchELF"

This reverts commit 366c1e88fc, that
caused OpenLDAP to not find its own libs. See discussion in
366c1e88fc
This commit is contained in:
Rickard Nilsson 2016-05-25 16:31:23 +00:00
parent a7baec7cb1
commit 92ce529880

View file

@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional (cyrus_sasl == null) "--without-cyrus-sasl" ++ stdenv.lib.optional (cyrus_sasl == null) "--without-cyrus-sasl"
++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic"; ++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic";
dontPatchELF = 1; # !!!
# Fixup broken libtool # Fixup broken libtool
preFixup = '' preFixup = ''
sed -e 's,-lsasl2,-L${cyrus_sasl.out}/lib -lsasl2,' \ sed -e 's,-lsasl2,-L${cyrus_sasl.out}/lib -lsasl2,' \