diff options
| author | Arthur LAURENT <[email protected]> | 2024-03-07 12:48:29 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-03-07 12:48:29 +0100 |
| commit | c8ab51ea649c5ea869401ce35809b765f543936a (patch) | |
| tree | 9489b0fcf328ca9ff9b9c771aa74fd6de27f893d /xmake/rules/c++/modules/modules_support | |
| parent | 1f4cc42199c464ba06fa91b5beac0be14d72312f (diff) | |
remove + from clang name when detecting clang-scan-deps for module
scanning
Diffstat (limited to 'xmake/rules/c++/modules/modules_support')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/clang/compiler_support.lua | 2 |
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 49e01db90..64db8d64f 100644 --- a/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua +++ b/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua @@ -218,7 +218,7 @@ function get_clang_scan_deps(target) local dir = path.directory(program) local basename = path.basename(program) local extension = path.extension(program) - program = (basename:gsub("clang", "clang-scan-deps")) .. extension + program = (basename:gsub("+", ""):gsub("clang", "clang-scan-deps")) .. extension if dir and dir ~= "." and os.isdir(dir) then program = path.join(dir, program) end |
