summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack <[email protected]>2022-12-29 22:41:00 +0800
committerJack <[email protected]>2022-12-29 22:41:00 +0800
commitdd07f27ebe1425ced29154abc89a985cf9152816 (patch)
tree4beb410dc36fe4a9f73429f7b07a25dc310085f8
parentef32bc5e2afd606eab6db1b2b02292a2ee2e89c4 (diff)
Fix cannot link multi-objects issue
-rw-r--r--xmake/modules/core/tools/bl51.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/bl51.lua b/xmake/modules/core/tools/bl51.lua
index 70c04385b..aed92c01c 100644
--- a/xmake/modules/core/tools/bl51.lua
+++ b/xmake/modules/core/tools/bl51.lua
@@ -28,7 +28,7 @@ end
-- make the link arguments list
function linkargv(self, objectfiles, targetkind, targetfile, flags)
- return self:program(), table.join(objectfiles, "TO", targetfile)
+ return self:program(), table.join(table.concat(objectfiles,","), "TO", targetfile)
end
-- link the target file