summary refs log tree commit diff
path: root/pkgs/development/libraries/cyrus-sasl
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-01-09 10:21:04 -0800
committerWilliam A. Kennington III <william@wkennington.com>2015-01-09 10:40:29 -0800
commit15e7acd0cfd06ae4b9d9a421c2bbe4685cf8e004 (patch)
tree08f25e94c64e7df427766a6fc1ec7f2a238ada83 /pkgs/development/libraries/cyrus-sasl
parente67bb36821d41eb7cbeedab2fd9ff7a04873ee59 (diff)
downloadnixpkgs-15e7acd0cfd06ae4b9d9a421c2bbe4685cf8e004.tar
nixpkgs-15e7acd0cfd06ae4b9d9a421c2bbe4685cf8e004.tar.gz
nixpkgs-15e7acd0cfd06ae4b9d9a421c2bbe4685cf8e004.tar.bz2
nixpkgs-15e7acd0cfd06ae4b9d9a421c2bbe4685cf8e004.tar.lz
nixpkgs-15e7acd0cfd06ae4b9d9a421c2bbe4685cf8e004.tar.xz
nixpkgs-15e7acd0cfd06ae4b9d9a421c2bbe4685cf8e004.tar.zst
nixpkgs-15e7acd0cfd06ae4b9d9a421c2bbe4685cf8e004.zip
cyrus-sasl: Explicitly define the openssl path
cyrus-sasl static libraries require linked binaries to pull in openssl
via -lcrypto and -lssl. This is problematic because it does not specify
-L${openssl}/lib when not explcitly configure to do so. This patch
forces cyrus-sasl to add -L${openssl}/lib to the static libraries which
propagates the openssl library path to linked binaries.
Diffstat (limited to 'pkgs/development/libraries/cyrus-sasl')
-rw-r--r--pkgs/development/libraries/cyrus-sasl/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/cyrus-sasl/default.nix b/pkgs/development/libraries/cyrus-sasl/default.nix
index 5470797b42f..2be98f3d5e8 100644
--- a/pkgs/development/libraries/cyrus-sasl/default.nix
+++ b/pkgs/development/libraries/cyrus-sasl/default.nix
@@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
   patches = [ ./missing-size_t.patch ]; # https://bugzilla.redhat.com/show_bug.cgi?id=906519
   patchFlags = "-p0";
 
+  configureFlags = [
+    "--with-openssl=${openssl}"
+  ];
+
   # Set this variable at build-time to make sure $out can be evaluated.
   preConfigure = ''
     configureFlagsArray=( --with-plugindir=$out/lib/sasl2