Skip to content

Commit 1dee088

Browse files
committed
add gcc check
1 parent c3d9a8d commit 1dee088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmake/rules/utils/symbols/export_all/export_all.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function main(target, opt)
126126
if msvc:check() then
127127
local dumpbin = assert(find_tool("dumpbin", {envs = msvc:runenvs()}), "dumpbin not found!")
128128
allsymbols = _get_allsymbols_by_dumpbin(target, dumpbin.program, {export_classes = export_classes})
129-
elseif target:has_tool("cc", "clang", "clang_cl", "clangxx") then
129+
elseif target:has_tool("cc", "clang", "clang_cl", "clangxx", "gcc", "gxx") then
130130
local objdump = assert(find_tool("llvm-objdump") or find_tool("objdump"), "objdump not found!")
131131
allsymbols = _get_allsymbols_by_objdump(target, objdump.program, {export_classes = export_classes})
132132
end

0 commit comments

Comments
 (0)