trying to make it work without -rdynamic
This commit is contained in:
@@ -173,7 +173,7 @@ PLATFORM_INTERFACE void Plat_Backtrace( void )
|
||||
PLATFORM_INTERFACE void *Plat_LoadLibrary( const char *psz )
|
||||
{
|
||||
#ifdef __linux__
|
||||
void *lib = dlopen(psz, RTLD_GLOBAL | RTLD_NOW);
|
||||
void *lib = dlopen(psz, RTLD_NOW);
|
||||
if (!lib)
|
||||
V_printf("Failed to open %s\n\t%s\n", psz, dlerror());
|
||||
return lib;
|
||||
|
||||
Reference in New Issue
Block a user