mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 23:41:19 +01:00
2a66b88d01
The opagent library was (incorrectly) marked as a dependency for "Core" instead of "Common". When linked with --as-needed, any symbols the linker can tell are not used are discarded. As the link is done in command-line order, and the Core library (and dependencies) are processed before Common, it would link in Core, then opagent, but as at that point no opagent symbols are used the whole opagent library would be discarded. Moving the opagent library to be a dependency of Common fixes this, as after the Common library is linked, there *are* opagent symbols used.