fix(libs): retain plain PRX dependencies in native wrappers #1661
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1661"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T15:57:57Z.
What
Link each Linux native wrapper to its plain PRX twin with
--no-as-needed, so the loader retains the dependency even when the wrapper has no direct unresolved symbol from the plain library. Add a CTest check for the resultingDT_NEEDEDentry. The SaveData C++20 file-clock conversion is included because building its native wrapper requires the fix proposed in #1260.Tested
Linux, GCC 12.2: configured with
BUILD_TESTING=ON, built all nine native wrapper targets, and ran the native-wrapper dependency CTests (9/9 passed).tools/check_conventions.pyandgit diff --checkpass.Checklist
main; no open PR implements native-wrapper dependenciesImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-08T19:20:38Z.
Nothing is shown failing without these
DT_NEEDEDentries, and it also carries #1260's change. Closing for now; reopen with a case that fails on main.Pull request closed