Skip to content

Commit

Permalink
dsdcc: fixup paths in .pc file
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Sep 28, 2022
1 parent 5179c42 commit a2a2ffb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/libraries/dsdcc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
"-DUSE_MBELIB=ON"
];

postFixup = ''
substituteInPlace "$out"/lib/pkgconfig/libdsdcc.pc \
--replace '=''${exec_prefix}//' '=/'
'';

meta = with lib; {
description = "Digital Speech Decoder (DSD) rewritten as a C++ library";
homepage = "https://github.com/f4exb/dsdcc";
Expand Down

0 comments on commit a2a2ffb

Please sign in to comment.