libsurvive: fix path in pkg-config file

This commit is contained in:
Alexander Shpilkin 2022-05-17 15:39:47 +03:00 committed by Artturin
parent 50cee473ae
commit 91bbd9567b

View File

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