mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-24 23:46:53 +00:00
cd05cdaa57
Steam's gameoverlayrenderer.so relies on libX11 symbols to be available without actually loading that library directly. This works on an unthunked system since libGL.so depends on libGLX.so, which in turn pulls in libX11.so at load-time. Adding a fake libX11 dependency to the libGL-guest thunks reproduces this behavior.
8 lines
379 B
C++
8 lines
379 B
C++
// This file only exists to create a placeholder library to link against for
|
|
// libraries that are supposed to implicitly load libX11. At runtime, the guest
|
|
// linker will select the library from the RootFS instead, which is then
|
|
// replaced by libX11-guest.so.
|
|
|
|
// Define some symbol so that the linker doesn't consider this library unused
|
|
extern "C" void XSetErrorHandler() {}
|