onnxruntime: fix paths in pkg-config file

This commit is contained in:
Christian Kögler 2022-09-27 12:33:45 +02:00
parent 7ad22ae49d
commit 0d873b3716

View File

@ -86,6 +86,9 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace cmake/external/abseil-cpp.cmake \
--replace "${abseil.url}" "${abseil}"
substituteInPlace cmake/libonnxruntime.pc.cmake.in \
--replace '$'{prefix}/@CMAKE_INSTALL_ @CMAKE_INSTALL_
'';
postInstall = ''