mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
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 stdenv.isFreeBSD cyrus_sasl;
|
||||
|
||||
# Give apr1 access to sed for runtime invocations
|
||||
postInstall = ''
|
||||
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
|
||||
|
||||
# Give apr1 access to sed for runtime invocations.
|
||||
wrapProgram $dev/bin/apu-1-config --prefix PATH : "${gnused}/bin"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user