diff options
| author | Arthur LAURENT <[email protected]> | 2024-02-04 17:50:55 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-02-05 13:58:13 +0100 |
| commit | 4a6acafb07f5af250c51604c731dba7fafdd8547 (patch) | |
| tree | 7a2383d59c32a88336f344b737e04fe1ac49f299 /xmake/rules/c++/modules/xmake.lua | |
| parent | 05b80a342d3a456504799a9abe228d0f81c18878 (diff) | |
fix objectfile handling
Diffstat (limited to 'xmake/rules/c++/modules/xmake.lua')
| -rw-r--r-- | xmake/rules/c++/modules/xmake.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/c++/modules/xmake.lua b/xmake/rules/c++/modules/xmake.lua index ecb79f65b..d9e26e41f 100644 --- a/xmake/rules/c++/modules/xmake.lua +++ b/xmake/rules/c++/modules/xmake.lua @@ -100,7 +100,7 @@ rule("c++.build.modules.builder") builder.build_headerunits_for_batchjobs(target, batchjobs, sourcebatch, modules, opt) -- cull external modules objectfile - compiler_support.cull_objectfiles(target, sourcebatch) + compiler_support.cull_objectfiles(target, modules, sourcebatch) else -- avoid duplicate linking of object files of non-module programs sourcebatch.objectfiles = {} @@ -147,7 +147,7 @@ rule("c++.build.modules.builder") builder.build_modules_for_batchcmds(target, batchcmds, sourcebatch, modules, opt) -- cull external modules objectfile - compiler_support.cull_objectfiles(target, sourcebatch) + compiler_support.cull_objectfiles(target, modules, sourcebatch) else -- avoid duplicate linking of object files of non-module programs sourcebatch.objectfiles = {} |
