mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
(DYLIB) If dlopen fails, return specific error message with dlerror
so we know what's happening
This commit is contained in:
parent
2dcb61cb53
commit
b814f9c00d
@ -98,6 +98,7 @@ static void load_symbols(void)
|
|||||||
if (!lib_handle)
|
if (!lib_handle)
|
||||||
{
|
{
|
||||||
RARCH_ERR("Failed to open dynamic library: \"%s\"\n", g_settings.libretro);
|
RARCH_ERR("Failed to open dynamic library: \"%s\"\n", g_settings.libretro);
|
||||||
|
RARCH_ERR("%s\n", dlerror());
|
||||||
rarch_fail(1, "load_dynamic()");
|
rarch_fail(1, "load_dynamic()");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user