mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 00:22:57 -05:00
A title that ships sce_module/libc.prx makes addHost drop the host libc.prx from the executable's dependencies. Every host prx needs it, but their DT_RUNPATH is empty, so loading fails with "libc.prx: cannot open shared object file". Mirror the Windows rule from WindowsImportBuilder: when libSceLibcInternal.prx is a host dependency and no host libc.prx remains, append libc.prx as the last host dependency. The title's own imports still bind to the guest modules first. Refs #476