diff options
| author | Arthur LAURENT <[email protected]> | 2024-02-04 20:24:24 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-02-05 13:58:27 +0100 |
| commit | 2328ca4f94c6a7680c72fc92f43a39c4f753d7a3 (patch) | |
| tree | aa3584bc921b737b5e00830754075a46e67156b1 /xmake/rules/c++/modules/modules_support/builder.lua | |
| parent | 4a6acafb07f5af250c51604c731dba7fafdd8547 (diff) | |
fix missing objectfiles for private modules
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/builder.lua')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/builder.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xmake/rules/c++/modules/modules_support/builder.lua b/xmake/rules/c++/modules/modules_support/builder.lua index ca7a3cbb8..62b874bfb 100644 --- a/xmake/rules/c++/modules/modules_support/builder.lua +++ b/xmake/rules/c++/modules/modules_support/builder.lua @@ -45,11 +45,6 @@ function _build_modules(target, sourcebatch, modules, opt) cppfile = cppfile or module.cppfile local fileconfig = target:fileconfig(cppfile) - local bmifile = provide and compiler_support.get_bmi_path(provide.bmi) - -- add objectfile if module is not from external dep - if not (fileconfig and fileconfig.external) then - target:add("objectfiles", objectfile) - end local deps = {} for _, dep in ipairs(table.keys(module.requires or {})) do |
