summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp
diff options
context:
space:
mode:
authorJonathan Hamilton <jtrhamilton@gmail.com>2017-08-14 14:09:32 -0700
committerJonathan Hamilton <jtrhamilton@gmail.com>2017-08-14 14:38:44 -0700
commit2a66b88d0138f6555723b074e88a012db8437875 (patch)
tree802cd8faefc6efd3762e2f4f45be485144920144 /Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp
parent8fedd4fa0662daebcff91b82203773000d0b0ae7 (diff)
Fix OPROFILE linux build with -Wl,--as-needed
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.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp')
0 files changed, 0 insertions, 0 deletions