aboutsummaryrefslogtreecommitdiff
path: root/src/linker.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2024-01-02 14:18:44 +0000
committerGitHub <noreply@github.com>2024-01-02 14:18:44 +0000
commitdc49cf766f8807a076bee5e954165d997ad79cc8 (patch)
treee3b7838b020b83296a6482fde39f227ea3dee370 /src/linker.cpp
parent933754193ae104c7b875c65720212138497fdf8c (diff)
parent4701b31b5575cca5229351cce6c0d3894fde41eb (diff)
Merge pull request #3048 from ThomasL81/master
Fixing a pdb linker error when the path contains spaces
Diffstat (limited to 'src/linker.cpp')
-rw-r--r--src/linker.cpp2
1 files changed, 1 insertions, 1 deletions
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) {