mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: platform: android: add some verbosity when successfully loading libraries on Android (hidden under -dev 2)
This commit is contained in:
@@ -41,7 +41,10 @@ void *ANDROID_LoadLibrary( const char *path )
|
||||
handle = dlopen( fullpath, RTLD_NOW );
|
||||
|
||||
if( handle )
|
||||
{
|
||||
Con_Reportf( "%s: loading library %s successful\n", __func__, fullpath );
|
||||
return handle;
|
||||
}
|
||||
|
||||
COM_PushLibraryError( dlerror() );
|
||||
}
|
||||
@@ -49,7 +52,10 @@ void *ANDROID_LoadLibrary( const char *path )
|
||||
// find in system search path, that includes our APK
|
||||
handle = dlopen( name, RTLD_NOW );
|
||||
if( handle )
|
||||
{
|
||||
Con_Reportf( "%s: loading library %s from LD_LIBRARY_PATH successful\n", __func__, name );
|
||||
return handle;
|
||||
}
|
||||
COM_PushLibraryError( dlerror() );
|
||||
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user