summaryrefslogtreecommitdiff
path: root/xmake/core/project/target.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-02-26 21:43:33 +0800
committerruki <[email protected]>2017-02-26 21:43:33 +0800
commit6b1e196b60c27c0ecd96f3a309861f66d8f3ae12 (patch)
tree40ad8ff909eda242a60fcb62abcb40093c876392 /xmake/core/project/target.lua
parentf79a6bc543ebc146550e241713609924d3c20208 (diff)
build static library for rust
Diffstat (limited to 'xmake/core/project/target.lua')
-rw-r--r--xmake/core/project/target.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua
index 5f0a775ff..b78584b74 100644
--- a/xmake/core/project/target.lua
+++ b/xmake/core/project/target.lua
@@ -547,7 +547,7 @@ function target:sourcebatches()
-- this batch support to compile multiple objects at the same time?
local instance = compiler.load(sourcekind)
- if instance and instance:feature("compile:multifiles") then
+ if instance and instance:feature("object:sources") then
-- get the first source file
local sourcefile = sourcebatch.sourcefiles[1]