From 4701b31b5575cca5229351cce6c0d3894fde41eb Mon Sep 17 00:00:00 2001 From: Thomas Louis Date: Wed, 27 Dec 2023 11:36:38 +0100 Subject: Fixing a pdb linker error when the path contains spaces --- src/linker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/linker.cpp') diff --git a/src/linker.cpp b/src/linker.cpp index c3ede0f55..e93f50113 100644 --- a/src/linker.cpp +++ b/src/linker.cpp @@ -195,7 +195,7 @@ gb_internal i32 linker_stage(LinkerData *gen) { if (build_context.pdb_filepath != "") { 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) { -- cgit v1.2.3