Skip to content

Commit

Permalink
remove + from clang name when detecting clang-scan-deps for module
Browse files Browse the repository at this point in the history
scanning
  • Loading branch information
Arthapz committed Mar 7, 2024
1 parent 1f4cc42 commit c8ab51e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c8ab51e

Please sign in to comment.