libtorrent-rasterbar: fix the path to the library in the CMake module
This commit is contained in:
parent
93b63a2cab
commit
cedd2ce2be
1 changed files with 5 additions and 0 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue