mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-06 18:54:12 +00:00
Attempt to account for BuildTools installer's lack of \
This commit is contained in:
@@ -684,8 +684,14 @@ gb_internal void find_visual_studio_paths_from_env_vars(Find_Result *result) {
|
||||
? str_lit("lib\\x64\\")
|
||||
: str_lit("lib\\x86\\");
|
||||
|
||||
result->vs_exe_path = mc_concat(vctid, exe);
|
||||
result->vs_library_path = mc_concat(vctid, lib);
|
||||
if (string_ends_with(vctid, str_lit("\\"))) {
|
||||
result->vs_exe_path = mc_concat(vctid, exe);
|
||||
result->vs_library_path = mc_concat(vctid, lib);
|
||||
} else {
|
||||
result->vs_exe_path = mc_concat(vctid, str_lit("\\"), exe);
|
||||
result->vs_library_path = mc_concat(vctid, str_lit("\\"), lib);
|
||||
}
|
||||
|
||||
vs_found = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user