(DYLIB) If dlopen fails, return specific error message with dlerror

so we know what's happening
This commit is contained in:
twinaphex 2012-10-03 23:16:32 +02:00
parent 2dcb61cb53
commit b814f9c00d

View File

@ -98,6 +98,7 @@ static void load_symbols(void)
if (!lib_handle)
{
RARCH_ERR("Failed to open dynamic library: \"%s\"\n", g_settings.libretro);
RARCH_ERR("%s\n", dlerror());
rarch_fail(1, "load_dynamic()");
}
#endif