the-foundation: fixup paths in .pc file

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

View file

@ -26,6 +26,11 @@ stdenv.mkDerivation rec {
buildInputs = [ curl libunistring openssl pcre zlib ];
postFixup = ''
substituteInPlace "$out"/lib/pkgconfig/the_Foundation.pc \
--replace '="''${prefix}//' '="/'
'';
meta = with lib; {
description = "Opinionated C11 library for low-level functionality";
homepage = "https://git.skyjake.fi/skyjake/the_Foundation";