mirror of
https://github.com/FEX-Emu/FEX.git
synced 2024-11-23 14:40:14 +00:00
Merge pull request #3581 from neobrain/fix_libfwd_x11_libname
Library Forwarding: Fix issues with libGL's fake X11 dependency
This commit is contained in:
commit
81a4206805
@ -182,8 +182,10 @@ if (BITNESS EQUAL 64)
|
||||
add_guest_lib(GL "libGL.so.1")
|
||||
|
||||
# libGL must pull in libX11.so, so generate a placeholder libX11.so to link against
|
||||
add_library(X11 SHARED ../libX11/libX11_NativeGuest.cpp)
|
||||
target_link_libraries(GL-guest PRIVATE X11)
|
||||
add_library(PlaceholderX11 SHARED ../libX11/libX11_NativeGuest.cpp)
|
||||
target_link_options(PlaceholderX11 PRIVATE "LINKER:-soname,libX11.so.6")
|
||||
set_target_properties(PlaceholderX11 PROPERTIES NO_SONAME ON)
|
||||
target_link_libraries(GL-guest PRIVATE PlaceholderX11)
|
||||
|
||||
# disabled for now, headers are platform specific
|
||||
# find_package(SDL2 REQUIRED)
|
||||
|
Loading…
Reference in New Issue
Block a user