summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2023-01-23 12:28:01 +0100
committerArthur LAURENT <[email protected]>2023-01-23 12:28:01 +0100
commitbfc401680246307bb59874c53fb4c6bb2369255b (patch)
tree6c18bf334aa62ee0d60aacb4a63b5284805e851e /xmake/rules/c++/modules/modules_support
parentacedc8854cdf5e59915bfcf6fc1e979b91ff4d6b (diff)
revert wrong change
Diffstat (limited to 'xmake/rules/c++/modules/modules_support')
-rw-r--r--xmake/rules/c++/modules/modules_support/common.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/rules/c++/modules/modules_support/common.lua b/xmake/rules/c++/modules/modules_support/common.lua
index a01c78710..7a43cd5f2 100644
--- a/xmake/rules/c++/modules/modules_support/common.lua
+++ b/xmake/rules/c++/modules/modules_support/common.lua
@@ -310,6 +310,9 @@ function _parse_dependencies_data(target, moduleinfos)
-- we didn't found the compiled module path, so we assume it
if not bmifile then
local name = provide["logical-name"] .. bmi_extension(target)
+ -- partition ":" character is invalid path character on windows
+ -- @see https://github.com/xmake-io/xmake/issues/2954
+ name = name:replace(":", "-")
bmifile = path.join(get_outputdir(target, name), name)
end
end