diff options
| author | ruki <[email protected]> | 2021-04-24 21:10:44 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-04-24 21:10:44 +0800 |
| commit | 37c22fc9b0c7e19edd1c90d1e9050595762b7a51 (patch) | |
| tree | 339b84195395dd2fafa81fd818bdedd0ef4cac3e | |
| parent | be945c59d6dd0dbd576b9c94b38a491f018bd940 (diff) | |
improve extract symbols
| -rw-r--r-- | xmake/rules/utils/symbols/extract/xmake.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/utils/symbols/extract/xmake.lua b/xmake/rules/utils/symbols/extract/xmake.lua index 278935eae..f78cab808 100644 --- a/xmake/rules/utils/symbols/extract/xmake.lua +++ b/xmake/rules/utils/symbols/extract/xmake.lua @@ -49,7 +49,7 @@ rule("utils.symbols.extract") import("private.utils.progress") -- get strip - local strip = platform.tool("strip") + local strip = target:tool("strip") if not strip then return end @@ -57,7 +57,7 @@ rule("utils.symbols.extract") -- get dsymutil local dsymutil if is_plat("macosx", "iphoneos", "watchos") then - dsymutil = platform.tool("dsymutil") + dsymutil = target:tool("dsymutil") if not dsymutil then return end |
