diff options
| author | ruki <[email protected]> | 2019-04-19 22:35:58 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-04-19 09:35:52 +0800 |
| commit | 76fcea2d9a8a715c3ce347174ab7b3bae6d3914a (patch) | |
| tree | c24fa1b56431aca13ddd4daa1157729f13a68f03 /xmake/core/language/language.lua | |
| parent | a33f46b744ffd1802aaaa325192819b91da0a391 (diff) | |
fix some bug
Diffstat (limited to 'xmake/core/language/language.lua')
| -rw-r--r-- | xmake/core/language/language.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/language/language.lua b/xmake/core/language/language.lua index 1c76fbe12..682532dcf 100644 --- a/xmake/core/language/language.lua +++ b/xmake/core/language/language.lua @@ -613,7 +613,7 @@ function language.linkerinfos_of(targetkind, sourcekinds) -- find suitable linkers local results = {} - for _, linkerinfo in pairs(linkerinfos[targetkind]) do + for _, linkerinfo in pairs(table.wrap(linkerinfos[targetkind])) do -- match all source kinds? local count = 0 |
