Commit cedd2ce2 authored by Pavel Sobolev's avatar Pavel Sobolev Committed by Peter Hoeg
Browse files

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

parent 93b63a2c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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 = [