3
0
Fork 0
forked from mirrors/nixpkgs

Merge #193163: onnxruntime: fix paths in pkg-config file

This commit is contained in:
Vladimír Čunát 2022-09-27 18:29:55 +02:00
commit 9f59caf45c
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

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 = ''