mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-06 20:30:36 +08:00
engine: android: fix building custom dlsym with NDK r19c, clean-up
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#if defined __ANDROID__ && !defined XASH_64BIT
|
||||
#include <android/log.h>
|
||||
#include "linker.h"
|
||||
|
||||
@@ -77,7 +77,7 @@ static unsigned elfhash(const char* _name) {
|
||||
Binary Interface) where in Chapter 5 it discuss resolving "Shared
|
||||
Object Dependencies" in breadth first search order.
|
||||
*/
|
||||
Elf_Sym* dlsym_handle_lookup(soinfo* si, const char* name) {
|
||||
static Elf_Sym* dlsym_handle_lookup(soinfo* si, const char* name) {
|
||||
return soinfo_elf_lookup(si, elfhash(name), name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user