mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Merge pull request #3048 from ThomasL81/master
Fixing a pdb linker error when the path contains spaces
This commit is contained in:
+1
-1
@@ -195,7 +195,7 @@ gb_internal i32 linker_stage(LinkerData *gen) {
|
|||||||
|
|
||||||
if (build_context.pdb_filepath != "") {
|
if (build_context.pdb_filepath != "") {
|
||||||
String pdb_path = path_to_string(heap_allocator(), build_context.build_paths[BuildPath_PDB]);
|
String pdb_path = path_to_string(heap_allocator(), build_context.build_paths[BuildPath_PDB]);
|
||||||
link_settings = gb_string_append_fmt(link_settings, " /PDB:%.*s", LIT(pdb_path));
|
link_settings = gb_string_append_fmt(link_settings, " /PDB:\"%.*s\"", LIT(pdb_path));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (build_context.no_crt) {
|
if (build_context.no_crt) {
|
||||||
|
|||||||
Reference in New Issue
Block a user