From 63b0a0d96b2e7913f95da9112fd39094019684f8 Mon Sep 17 00:00:00 2001 From: LoveSy Date: Wed, 10 Jul 2024 20:52:50 +0800 Subject: [PATCH] Fix incomplete native debug symbols See https://github.com/android/ndk/issues/2039 --- native/src/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/src/Android.mk b/native/src/Android.mk index dc84fa31b..7d7068b74 100644 --- a/native/src/Android.mk +++ b/native/src/Android.mk @@ -52,7 +52,7 @@ ifdef B_PRELOAD include $(CLEAR_VARS) LOCAL_MODULE := init-ld LOCAL_SRC_FILES := init/preload.c -LOCAL_STRIP_MODE := --strip-all +LOCAL_LDFLAGS := -Wl,--strip-all include $(BUILD_SHARED_LIBRARY) endif