diff options
| author | Arthur LAURENT <[email protected]> | 2024-02-05 17:30:32 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-02-05 17:30:32 +0100 |
| commit | 6739478d0bf6a4aaf0d1a1caf1c6b60532fa07f8 (patch) | |
| tree | 8e1f4493b63876a0e9c33d0845aa6b7bbefa886b /xmake/rules/c++/modules/modules_support/builder.lua | |
| parent | cf0e793a7cee0e1225c307473794245529cbc302 (diff) | |
fix gcc
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/builder.lua')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/builder.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/rules/c++/modules/modules_support/builder.lua b/xmake/rules/c++/modules/modules_support/builder.lua index af0a0539f..1f014abde 100644 --- a/xmake/rules/c++/modules/modules_support/builder.lua +++ b/xmake/rules/c++/modules/modules_support/builder.lua @@ -44,13 +44,12 @@ function _build_modules(target, sourcebatch, modules, opt) local name, provide, cppfile = compiler_support.get_provided_module(module) cppfile = cppfile or module.cppfile - local fileconfig = target:fileconfig(cppfile) - local deps = {} for _, dep in ipairs(table.keys(module.requires or {})) do table.insert(deps, opt.batchjobs and target:name() .. dep or dep) end + local fileconfig = target:fileconfig(cppfile) opt.build_module(deps, module, name, provide, objectfile, cppfile, fileconfig) ::CONTINUE:: |
