apr-util: Drop dependency on openssl.dev in out
This commit is contained in:
parent
5383041ab7
commit
6abfb2bd64
@ -43,11 +43,14 @@ stdenv.mkDerivation rec {
|
|||||||
++ optional ldapSupport openldap
|
++ optional ldapSupport openldap
|
||||||
++ optional stdenv.isFreeBSD cyrus_sasl;
|
++ optional stdenv.isFreeBSD cyrus_sasl;
|
||||||
|
|
||||||
# Give apr1 access to sed for runtime invocations
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
for f in $out/lib/*.la $out/lib/apr-util-1/*.la; do
|
for f in $out/lib/*.la $out/lib/apr-util-1/*.la; do
|
||||||
substituteInPlace $f --replace "${expat.dev}/lib" "${expat.out}/lib"
|
substituteInPlace $f \
|
||||||
|
--replace "${expat.dev}/lib" "${expat.out}/lib" \
|
||||||
|
--replace "${openssl.dev}/lib" "${openssl.out}/lib"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Give apr1 access to sed for runtime invocations.
|
||||||
wrapProgram $dev/bin/apu-1-config --prefix PATH : "${gnused}/bin"
|
wrapProgram $dev/bin/apu-1-config --prefix PATH : "${gnused}/bin"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user