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.
This commit is contained in:
Spencer Pogorzelski 2024-08-01 19:16:23 -07:00
parent bb2d05ba76
commit 072406a37f

View File

@ -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
'';