diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2024-01-02 14:18:44 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-02 14:18:44 +0000 |
| commit | dc49cf766f8807a076bee5e954165d997ad79cc8 (patch) | |
| tree | e3b7838b020b83296a6482fde39f227ea3dee370 /src/linker.cpp | |
| parent | 933754193ae104c7b875c65720212138497fdf8c (diff) | |
| parent | 4701b31b5575cca5229351cce6c0d3894fde41eb (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.cpp | 2 |
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) { |