rinutils: fix path in pkg-config file

This commit is contained in:
Alexander Shpilkin 2022-05-18 21:29:07 +03:00 committed by Artturin
parent e05942145d
commit 7a2593d3c9

View file

@ -18,4 +18,11 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake perl ];
# https://github.com/shlomif/rinutils/issues/5
# (variable was unused at time of writing)
postPatch = ''
substituteInPlace librinutils.pc.in \
--replace '$'{exec_prefix}/@RINUTILS_INSTALL_MYLIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
'';
}