summaryrefslogtreecommitdiff
path: root/xmake/rules/utils
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-17 23:56:44 +0800
committerruki <[email protected]>2025-11-17 23:56:44 +0800
commit9b91cb225b0036464770a52ed48661dae9922d2a (patch)
tree4e6ab07543c3208a35310a0c35fefaf8ac2e349b /xmake/rules/utils
parent1122dba23f4d74a6be13a23ecd96fa458b9b5813 (diff)
improve to extract symbols
Diffstat (limited to 'xmake/rules/utils')
-rw-r--r--xmake/rules/utils/symbols/extract/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/utils/symbols/extract/xmake.lua b/xmake/rules/utils/symbols/extract/xmake.lua
index b9fd816eb..92abd3df3 100644
--- a/xmake/rules/utils/symbols/extract/xmake.lua
+++ b/xmake/rules/utils/symbols/extract/xmake.lua
@@ -103,7 +103,7 @@ rule("utils.symbols.extract")
-- strip it
local strip_argv = {}
- if target:is_plat("macosx", "iphoneos", "watchos") then
+ if target:is_plat("macosx", "iphoneos", "watchos") and not strip:find("llvm-strip", 1, true) then
-- do not support `-s`, we can only strip debug symbols
local arch = target:arch()
if arch then