diff options
| author | ruki <[email protected]> | 2024-09-12 22:36:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-09-12 22:36:09 +0800 |
| commit | e962066eca9967087a9a4495cf6a82fb2b4bd367 (patch) | |
| tree | 71519af3d609c701f8a46a2f2b1341b5563d84c1 /xmake/rules/utils | |
| parent | 9e70298e25cde32fdde0cae65f4977a096eabfa7 (diff) | |
improve export all #5601
Diffstat (limited to 'xmake/rules/utils')
| -rw-r--r-- | xmake/rules/utils/symbols/export_all/export_all.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/utils/symbols/export_all/export_all.lua b/xmake/rules/utils/symbols/export_all/export_all.lua index 1c2806b79..0101bcfa5 100644 --- a/xmake/rules/utils/symbols/export_all/export_all.lua +++ b/xmake/rules/utils/symbols/export_all/export_all.lua @@ -47,7 +47,7 @@ function _get_allsymbols_by_dumpbin(target, dumpbin, opt) symbol = symbol:sub(2) end if export_filter then - if export_filter(symbol) then + if export_filter(symbol, {objectfile = objectfile}) then allsymbols:insert(symbol) end elseif not symbol:startswith("__") then @@ -88,7 +88,7 @@ function _get_allsymbols_by_objdump(target, objdump, opt) symbol = symbol:sub(2) end if export_filter then - if export_filter(symbol) then + if export_filter(symbol, {objectfile = objectfile}) then allsymbols:insert(symbol) end elseif not symbol:startswith("__") then |
