diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wrapped/wrappedlibgl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wrapped/wrappedlibgl.c b/src/wrapped/wrappedlibgl.c index f7d7633e..932af0e2 100644 --- a/src/wrapped/wrappedlibgl.c +++ b/src/wrapped/wrappedlibgl.c @@ -435,6 +435,12 @@ static void* find_glGetVkProcAddrNV_Fct(void* fct) s->resolved = 1; \ s->addr = (uintptr_t)find_glXSwapIntervalEXT_Fct(symb); \ } \ + if(GetLibInternal("libgcc_s.so.1")) { \ + setNeededLibs(lib, 1, "libstdc++.so.6"); \ + } \ + +// This is a small hack to allow loading of libstdc++ as a dependancy for libGL as this is a the case with mesa. Some game, like Mini Metro on Steam don't have +// libstdc++.so.6 as a dependancy and yet needs it to run properly, rellying on other dependancies to work #include "wrappedlib_init.h" |