libtorrent-rasterbar: fix the path to the library in the CMake module

This commit is contained in:
Pavel Sobolev 2023-10-24 13:19:00 +03:00 committed by Peter Hoeg
parent 93b63a2cab
commit cedd2ce2be

View file

@ -42,6 +42,11 @@ in stdenv.mkDerivation {
moveToOutput "lib/${python.libPrefix}" "$python"
'';
postFixup = ''
substituteInPlace "$dev/lib/cmake/LibtorrentRasterbar/LibtorrentRasterbarTargets-release.cmake" \
--replace "\''${_IMPORT_PREFIX}/lib" "$out/lib"
'';
outputs = [ "out" "dev" "python" ];
cmakeFlags = [