diff options
| author | ruki <[email protected]> | 2025-06-17 22:44:58 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-06-17 22:44:58 +0800 |
| commit | a7b4e164111cad5ffd7af28c10df9a9fbe996047 (patch) | |
| tree | 73bd1a911e8c4fbc02b8be4292396fc4463fa8e8 | |
| parent | e24686e7c390d0c52af98a680e0c296e200bb611 (diff) | |
fix releasedbg for clang #6554
| -rw-r--r-- | xmake/rules/utils/symbols/extract/xmake.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/rules/utils/symbols/extract/xmake.lua b/xmake/rules/utils/symbols/extract/xmake.lua index 33f2323c9..6b85c2a1f 100644 --- a/xmake/rules/utils/symbols/extract/xmake.lua +++ b/xmake/rules/utils/symbols/extract/xmake.lua @@ -27,6 +27,7 @@ rule("utils.symbols.extract") local strip = target:get("strip") local symbols = table.wrap(target:get("symbols")) if table.contains(symbols, "debug") and (strip == "all" or strip == "debug") + and not target:is_plat("windows") -- we need not to strip pdb for windows, https://github.com/xmake-io/xmake/issues/6554 and (target:is_binary() or target:is_shared()) and target:tool("strip") then -- only for strip command target:data_set("utils.symbols.extract", true) target:set("strip", "none") -- disable strip in link stage, because we need to run separate strip commands |
