miniz: fixup paths in .pc file

main
Vladimír Čunát 2 years ago
parent 9db13aa27d
commit 7e40546eb6
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
  1. 6
      pkgs/development/libraries/miniz/default.nix

@ -13,6 +13,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
postFixup = ''
substituteInPlace "$out"/share/pkgconfig/miniz.pc \
--replace '=''${prefix}//' '=/' \
--replace '=''${exec_prefix}//' '=/'
'';
meta = with lib; {
description = "Single C source file zlib-replacement library";
homepage = "https://github.com/richgel999/miniz";

Loading…
Cancel
Save