3
0
Fork 0
forked from mirrors/nixpkgs

rtrlib: fix paths in .pc file

This commit is contained in:
Vladimír Čunát 2022-09-28 17:48:27 +02:00
parent 23b3d4fb8e
commit 9e8bf24e48
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -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";