Commit 072406a3 authored by Spencer Pogorzelski's avatar Spencer Pogorzelski
Browse files

ida-free: add openssl dependency to libida64

The cloud decompiler is currently not working because it tries to
dlopen() openssl. openssl is added to the RUNPATH of the main ida64
binary, but not of this helper library. Tell autoPatchelf to add it by
adding a reference to it.
parent bb2d05ba
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -121,6 +121,10 @@ stdenv.mkDerivation rec {
      ln -s $IDADIR/$bb $out/bin/$bb
    done

    # runtimeDependencies don't get added to non-executables, and openssl is needed
    #  for cloud decompilation
    patchelf --add-needed libcrypto.so $IDADIR/libida64.so

    runHook postInstall
  '';