From dd07f27ebe1425ced29154abc89a985cf9152816 Mon Sep 17 00:00:00 2001 From: Jack Date: Thu, 29 Dec 2022 22:41:00 +0800 Subject: Fix cannot link multi-objects issue --- xmake/modules/core/tools/bl51.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1