libsurvive: fix path in pkg-config file

This commit is contained in:
Alexander Shpilkin
2022-09-07 21:49:32 +03:00
committed by Artturin
parent 50cee473ae
commit 91bbd9567b
@@ -34,6 +34,12 @@ stdenv.mkDerivation rec {
eigen
];
# https://github.com/cntools/libsurvive/issues/272
postPatch = ''
substituteInPlace survive.pc.in \
--replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
'';
meta = with lib; {
description = "Open Source Lighthouse Tracking System";
homepage = "https://github.com/cntools/libsurvive";