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.
This commit is contained in:
parent
e67bb36821
commit
15e7acd0cf
@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
|
|||||||
patches = [ ./missing-size_t.patch ]; # https://bugzilla.redhat.com/show_bug.cgi?id=906519
|
patches = [ ./missing-size_t.patch ]; # https://bugzilla.redhat.com/show_bug.cgi?id=906519
|
||||||
patchFlags = "-p0";
|
patchFlags = "-p0";
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--with-openssl=${openssl}"
|
||||||
|
];
|
||||||
|
|
||||||
# Set this variable at build-time to make sure $out can be evaluated.
|
# Set this variable at build-time to make sure $out can be evaluated.
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
configureFlagsArray=( --with-plugindir=$out/lib/sasl2
|
configureFlagsArray=( --with-plugindir=$out/lib/sasl2
|
||||||
|
Loading…
Reference in New Issue
Block a user