diff options
| author | ruki <[email protected]> | 2024-05-19 22:51:06 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-05-19 22:51:06 +0800 |
| commit | 1dee088e701ace1ea4cdfe904a152caddfc55f42 (patch) | |
| tree | a0ed818042b80162a0f34ba54c1660fa8ee0ee68 | |
| parent | c3d9a8dfc63f2f8e054cc5f140830dc02b6332a0 (diff) | |
add gcc check
| -rw-r--r-- | xmake/rules/utils/symbols/export_all/export_all.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/utils/symbols/export_all/export_all.lua b/xmake/rules/utils/symbols/export_all/export_all.lua index d3d326105..4842546f3 100644 --- a/xmake/rules/utils/symbols/export_all/export_all.lua +++ b/xmake/rules/utils/symbols/export_all/export_all.lua @@ -126,7 +126,7 @@ function main(target, opt) if msvc:check() then local dumpbin = assert(find_tool("dumpbin", {envs = msvc:runenvs()}), "dumpbin not found!") allsymbols = _get_allsymbols_by_dumpbin(target, dumpbin.program, {export_classes = export_classes}) - elseif target:has_tool("cc", "clang", "clang_cl", "clangxx") then + elseif target:has_tool("cc", "clang", "clang_cl", "clangxx", "gcc", "gxx") then local objdump = assert(find_tool("llvm-objdump") or find_tool("objdump"), "objdump not found!") allsymbols = _get_allsymbols_by_objdump(target, objdump.program, {export_classes = export_classes}) end |
