summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/makefile.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/project/makefile.lua')
-rwxr-xr-xxmake/plugins/project/makefile.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/makefile.lua b/xmake/plugins/project/makefile.lua
index b3bbe58b2..405441368 100755
--- a/xmake/plugins/project/makefile.lua
+++ b/xmake/plugins/project/makefile.lua
@@ -140,7 +140,7 @@ function _make_target(makefile, target)
makefile:print("")
-- make the command
- local command = linker.linkcmd(target:objectfiles, targetfile, target)
+ local command = linker.linkcmd(target:objectfiles(), targetfile, target)
-- make body
makefile:print("\t@echo linking.$(mode) %s", path.filename(targetfile))