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

This commit is contained in:
Pavel Sobolev
2023-11-06 22:50:57 +01:00
committed by Peter Hoeg
parent 93b63a2cab
commit cedd2ce2be
@@ -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 = [