mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Android.mk: Don't link the adrenotools hook libraries into ppsspp_common
They are meant to be separate shared libraries that driver.cpp loads into the driver's namespace by name (ext/libadrenotools builds them that way, and so does the gradle build). Linked into an executable, file_redirect_hook.c's global fopen() takes over every fopen in the process, including the one in libc's own startup, and hook_fopen() calls fopen() again forever. That hung ppsspp_headless (and the unit test executable) before main(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
df4ea65ee6
commit
6a15aff789
1 file changed
-4
@@ -280,10 +280,6 @@ RCHEEVOS_FILES := \
|
||||
ifeq ($(TARGET_ARCH_ABI),arm64-v8a)
|
||||
ADRENOTOOLS_FILES := \
|
||||
${SRC}/ext/libadrenotools/src/driver.cpp \
|
||||
${SRC}/ext/libadrenotools/src/hook/hook_impl.cpp \
|
||||
${SRC}/ext/libadrenotools/src/hook/file_redirect_hook.c \
|
||||
${SRC}/ext/libadrenotools/src/hook/gsl_alloc_hook.c \
|
||||
${SRC}/ext/libadrenotools/src/hook/main_hook.c \
|
||||
${SRC}/ext/libadrenotools/lib/linkernsbypass/android_linker_ns.cpp \
|
||||
${SRC}/ext/libadrenotools/lib/linkernsbypass/elf_soname_patcher.cpp
|
||||
endif
|
||||
|
||||
Reference in new issue
Block a user