Skip to content

Commit

Permalink
rtrlib: fix 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 23b3d4f commit 9e8bf24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/libraries/rtrlib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = [ libssh openssl ];

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

meta = with lib; {
description = "An open-source C implementation of the RPKI/Router Protocol client";
homepage = "https://github.com/rtrlib/rtrlib";
Expand Down

0 comments on commit 9e8bf24

Please sign in to comment.