diff options
| author | ruki <[email protected]> | 2023-09-27 23:25:02 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-27 23:25:02 +0800 |
| commit | fe931254f8f5fc0003b3fef14414b8adfa3adfd9 (patch) | |
| tree | dae8d3b5417a3e987856b34644a7519904618cfc /xmake/core/tool/builder.lua | |
| parent | 0fd951cc540635f332a7c7379a319656c82d70b4 (diff) | |
add linkorders and linkgroups apis
Diffstat (limited to 'xmake/core/tool/builder.lua')
| -rw-r--r-- | xmake/core/tool/builder.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua index d04663d81..1822efea0 100644 --- a/xmake/core/tool/builder.lua +++ b/xmake/core/tool/builder.lua @@ -408,8 +408,13 @@ function builder:_add_flags_from_language(flags, target, getters) end end + -- process link orders + local kind = self:kind() + if (kind == "ld" or kind == "sh") and target and target:type() == "target" then + utils.dump(items) + end + -- get flags from the items - utils.dump(items) for _, item in ipairs(items) do local check = item.check local mapper = item.mapper |
