From 6b47cac8b9abd0e9183b8c95a30cc5579a6e14fa Mon Sep 17 00:00:00 2001 From: xwx1135370 Date: Mon, 8 Sep 2025 13:01:00 +0800 Subject: [PATCH] [OpenHarmony-6.0-Release] strip _lldb.so Signed-off-by: xwx1135370 --- third_party/musl/ndk_script/toolchain.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/third_party/musl/ndk_script/toolchain.sh b/third_party/musl/ndk_script/toolchain.sh index db0cf489e50..fab8b897981 100755 --- a/third_party/musl/ndk_script/toolchain.sh +++ b/third_party/musl/ndk_script/toolchain.sh @@ -74,3 +74,6 @@ function remove_unnecessary_file() { } remove_unnecessary_file strip_dir ${OUT_DIR}/lib +if [ -f "${OUT_DIR}/bin/python/lib/python3.11/lldb/_lldb.so" ]; then + ${TOOL_DIR}/llvm-strip ${OUT_DIR}/bin/python/lib/python3.11/lldb/_lldb.so +fi -- Gitee