mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
openldap: support building without cyrus-sasl and tls
This commit is contained in:
parent
4ab9c00850
commit
1c86db4bc3
@ -8,7 +8,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "01h6zq6zki9b1k07pbyps5vxj9w39ybzjvkyz5h9xk09dd54raza";
|
||||
};
|
||||
|
||||
buildInputs = [openssl cyrus_sasl db4 groff];
|
||||
buildInputs = [ openssl cyrus_sasl db4 groff ];
|
||||
|
||||
configureFlags =
|
||||
[ "--enable-overlays"
|
||||
] ++ stdenv.lib.optional (openssl == null) "--without-tls"
|
||||
++ stdenv.lib.optional (cyrus_sasl == null) "--without-cyrus-sasl";
|
||||
|
||||
dontPatchELF = 1; # !!!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user