mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-07 04:40:43 +08:00
engine: disable Android-specific library loader under Termux
This commit is contained in:
@@ -158,7 +158,7 @@ Default build-depended cvar and constant values
|
||||
#define DEFAULT_M_IGNORE "1"
|
||||
#endif // !XASH_MOBILE_PLATFORM && !XASH_NSWITCH
|
||||
|
||||
#if XASH_ANDROID || XASH_IOS || XASH_EMSCRIPTEN
|
||||
#if (XASH_ANDROID && !XASH_TERMUX) || XASH_IOS || XASH_EMSCRIPTEN
|
||||
// this means that libraries are provided with engine, but not in game data
|
||||
// You need add library loading code to library.c when adding new platform
|
||||
#define XASH_INTERNAL_GAMELIBS
|
||||
|
||||
@@ -17,7 +17,10 @@ GNU General Public License for more details.
|
||||
#ifndef ANDROID_LIB_H
|
||||
#define ANDROID_LIB_H
|
||||
|
||||
#if !XASH_TERMUX
|
||||
#define Platform_POSIX_LoadLibrary( x ) ANDROID_LoadLibrary(( x ))
|
||||
#endif // !XASH_TERMUX
|
||||
|
||||
#define Platform_POSIX_GetProcAddress( x, y ) ANDROID_GetProcAddress(( x ), ( y ))
|
||||
|
||||
void *ANDROID_LoadLibrary( const char *dllname );
|
||||
|
||||
Reference in New Issue
Block a user