Cannot output binary to an environment's build root with the same name as the top-level source directory - close #168

This commit is contained in:
josh committed 2023-09-10 08:51:03 -04:00
1 parent a7b962c11a
commit 3867133e89
3 files changed
+96 -82

No files matched your search

+1 -1
View File
@@ -277,7 +277,7 @@ module Rscons
if extra_path = builder_class.extra_path
extra_path = "/#{extra_path}"
end
"#{@build_root}#{extra_path}/#{Util.make_relative_path("#{source_fname}#{suffix}")}".gsub("\\", "/")
"#{@build_root}/o#{extra_path}/#{Util.make_relative_path("#{source_fname}#{suffix}")}".gsub("\\", "/")
end
# Build all build targets specified in the Environment.