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