summary refs log tree commit diff
path: root/pkgs/development/libraries/apr-util
diff options
context:
space:
mode:
authorColin <colin@uninsane.org>2023-04-13 07:04:06 +0000
committerColin <colin@uninsane.org>2023-04-13 07:04:06 +0000
commited3f60f8f84cd2cd07c0266eac06f8c55addd0d7 (patch)
treedd81850abbab27a48c82bc2af9fbf7be6f4d0138 /pkgs/development/libraries/apr-util
parent90588d5e850c06e713ac3377c6ee1851ec578422 (diff)
downloadnixpkgs-ed3f60f8f84cd2cd07c0266eac06f8c55addd0d7.tar
nixpkgs-ed3f60f8f84cd2cd07c0266eac06f8c55addd0d7.tar.gz
nixpkgs-ed3f60f8f84cd2cd07c0266eac06f8c55addd0d7.tar.bz2
nixpkgs-ed3f60f8f84cd2cd07c0266eac06f8c55addd0d7.tar.lz
nixpkgs-ed3f60f8f84cd2cd07c0266eac06f8c55addd0d7.tar.xz
nixpkgs-ed3f60f8f84cd2cd07c0266eac06f8c55addd0d7.tar.zst
nixpkgs-ed3f60f8f84cd2cd07c0266eac06f8c55addd0d7.zip
serf: support cross compilation
serf consumes apr-util's apu-1-config file to obtain linker flags, so we extend the existing Makefile patch there to also apply to apu-1-config
Diffstat (limited to 'pkgs/development/libraries/apr-util')
-rw-r--r--pkgs/development/libraries/apr-util/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/apr-util/default.nix b/pkgs/development/libraries/apr-util/default.nix
index 594ecfbdb30..dd4b157d7a2 100644
--- a/pkgs/development/libraries/apr-util/default.nix
+++ b/pkgs/development/libraries/apr-util/default.nix
@@ -48,6 +48,8 @@ stdenv.mkDerivation rec {
     lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
       substituteInPlace Makefile \
         --replace "-ldb-6.9" "-ldb"
+      substituteInPlace apu-1-config \
+        --replace "-ldb-6.9" "-ldb"
   '';
 
   propagatedBuildInputs = [ apr expat libiconv libxcrypt ]