diff options
| author | ruki <[email protected]> | 2017-02-26 21:43:33 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-02-26 21:43:33 +0800 |
| commit | 6b1e196b60c27c0ecd96f3a309861f66d8f3ae12 (patch) | |
| tree | 40ad8ff909eda242a60fcb62abcb40093c876392 /xmake/core/project/target.lua | |
| parent | f79a6bc543ebc146550e241713609924d3c20208 (diff) | |
build static library for rust
Diffstat (limited to 'xmake/core/project/target.lua')
| -rw-r--r-- | xmake/core/project/target.lua | 2 |
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] |
