summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2024-02-02 15:42:38 +0100
committerArthur LAURENT <[email protected]>2024-02-02 15:42:38 +0100
commit5c8d2cb32c5638f2f2255fa3c1044169c0a1d7be (patch)
treeeab62007ecc67c733c215f95da18b7bcdd242c43 /xmake/rules/c++/modules/modules_support
parent6d4f1389c3a8cba0e5ccd9370595183ffe16877c (diff)
remove unnecessary path.normalize
Diffstat (limited to 'xmake/rules/c++/modules/modules_support')
-rw-r--r--xmake/rules/c++/modules/modules_support/clang/compiler_support.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua b/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua
index 1f4df5013..83bd104be 100644
--- a/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua
+++ b/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua
@@ -204,7 +204,7 @@ function get_stdmodules(target)
if cpplib then
if cpplib == "c++" then
local clang_path = path.directory(get_clang_path(target))
- local clang_lib_path = path.normalize(path.join(clang_path, "..", "lib"))
+ local clang_lib_path = path.join(clang_path, "..", "lib")
local modules_json_path = find_file("**.modules.json", clang_lib_path)
if modules_json_path then
local modules_json = json.decode(io.readfile(modules_json_path))