summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/project/target.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua
index af78ee398..e9f986c3a 100644
--- a/xmake/core/project/target.lua
+++ b/xmake/core/project/target.lua
@@ -1519,7 +1519,8 @@ end
-- get object file from source file
function _instance:objectfile(sourcefile)
- return self:autogenfile(sourcefile, {rootdir = self:objectdir(), filename = target.filename(path.filename(sourcefile), "object", {plat = self:plat(), arch = self:arch()})})
+ return self:autogenfile(sourcefile, {rootdir = self:objectdir(),
+ filename = target.filename(path.filename(sourcefile), "object", {plat = self:plat(), arch = self:arch()})})
end
-- get the object files