dyalog: also apply patchelf to dyalog.rt

This commit is contained in:
TomaSajt 2024-06-01 21:27:26 +02:00
parent 33df80f8d2
commit d22d611a08
No known key found for this signature in database
GPG Key ID: F011163C050122A1

View File

@ -143,8 +143,11 @@ stdenv.mkDerivation (finalAttrs: {
'';
# Register some undeclared runtime dependencies to be patched in by autoPatchelfHook
# Note: dyalog.rt is used internally to run child APL processes in
preFixup = ''
patchelf ${dyalogHome}/dyalog --add-needed libncurses.so
for exec in "dyalog" "dyalog.rt"; do
patchelf ${dyalogHome}/$exec --add-needed libncurses.so
done
''
+ lib.optionalString htmlRendererSupport ''
patchelf ${dyalogHome}/libcef.so --add-needed libudev.so --add-needed libGL.so