diff options
author | Tim Digel <tim.digel@active-group.de> | 2016-10-06 09:51:21 +0200 |
---|---|---|
committer | Tim Digel <tim.digel@active-group.de> | 2016-10-28 07:54:06 +0200 |
commit | 8e319c5ddac707fb4cb3315f9eadea9a70fc8c84 (patch) | |
tree | 70cbc65d318e4195957da581d246b29d1661f5c4 /pkgs | |
parent | 3cb116f708896b2c33f5cc3a4a925fd6a762dfa0 (diff) | |
download | nixpkgs-8e319c5ddac707fb4cb3315f9eadea9a70fc8c84.tar nixpkgs-8e319c5ddac707fb4cb3315f9eadea9a70fc8c84.tar.gz nixpkgs-8e319c5ddac707fb4cb3315f9eadea9a70fc8c84.tar.bz2 nixpkgs-8e319c5ddac707fb4cb3315f9eadea9a70fc8c84.tar.lz nixpkgs-8e319c5ddac707fb4cb3315f9eadea9a70fc8c84.tar.xz nixpkgs-8e319c5ddac707fb4cb3315f9eadea9a70fc8c84.tar.zst nixpkgs-8e319c5ddac707fb4cb3315f9eadea9a70fc8c84.zip |
Add package-option to enable module-support
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/openldap/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/development/libraries/openldap/default.nix b/pkgs/development/libraries/openldap/default.nix index a99cc51de4a..b197236a649 100644 --- a/pkgs/development/libraries/openldap/default.nix +++ b/pkgs/development/libraries/openldap/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, openssl, cyrus_sasl, db, groff }: +{ stdenv, fetchurl, openssl, cyrus_sasl, db, groff, libtool }: stdenv.mkDerivation rec { name = "openldap-2.4.44"; @@ -13,11 +13,12 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - buildInputs = [ openssl cyrus_sasl db groff ]; + buildInputs = [ openssl cyrus_sasl db groff libtool ]; configureFlags = [ "--enable-overlays" "--disable-dependency-tracking" # speeds up one-time build + "--enable-modules" ] ++ stdenv.lib.optional (openssl == null) "--without-tls" ++ stdenv.lib.optional (cyrus_sasl == null) "--without-cyrus-sasl" ++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic"; @@ -36,6 +37,10 @@ stdenv.mkDerivation rec { rm -r libraries/*/.libs ''; + postInstall = '' + chmod +x $out/lib/*.so + ''; + meta = with stdenv.lib; { homepage = http://www.openldap.org/; description = "An open source implementation of the Lightweight Directory Access Protocol"; |