aprutil: fix db dependency
This fixes a regression introduced in 4b06383
.
[dezgeg squashed in to fit the changes introduced in "db: Use more
conventional outputs, also split bin", also patch .la file]
This commit is contained in:
parent
a28c4a5396
commit
7c8705256c
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||
configureFlags = [ "--with-apr=${apr.dev}" "--with-expat=${expat.dev}" ]
|
||||
++ optional (!stdenv.isCygwin) "--with-crypto"
|
||||
++ optional sslSupport "--with-openssl=${openssl.dev}"
|
||||
++ optional bdbSupport "--with-berkeley-db=${db}"
|
||||
++ optional bdbSupport "--with-berkeley-db=${db.dev}"
|
||||
++ optional ldapSupport "--with-ldap=ldap"
|
||||
++ optionals stdenv.isCygwin
|
||||
[ "--without-pgsql" "--without-sqlite2" "--without-sqlite3"
|
||||
|
@ -47,6 +47,7 @@ stdenv.mkDerivation rec {
|
|||
for f in $out/lib/*.la $out/lib/apr-util-1/*.la; do
|
||||
substituteInPlace $f \
|
||||
--replace "${expat.dev}/lib" "${expat.out}/lib" \
|
||||
--replace "${db.dev}/lib" "${db.out}/lib" \
|
||||
--replace "${openssl.dev}/lib" "${openssl.out}/lib"
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue