aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2024-10-25 15:34:59 +0200
committerLaytan Laats <laytanlaats@hotmail.com>2024-10-25 15:34:59 +0200
commitbcf2b93c6e7bf6e4d94685f2c841d6243bceb4c3 (patch)
treeaf35d6bbfc79dfc25969e2c3837473e214de94ca
parentf047f804f67bd57713d058a0df6d83c49e0f3848 (diff)
quote the dsymutil argument
Fixes #4417
-rw-r--r--src/linker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linker.cpp b/src/linker.cpp
index 500fead69..2ed0987ac 100644
--- a/src/linker.cpp
+++ b/src/linker.cpp
@@ -684,7 +684,7 @@ gb_internal i32 linker_stage(LinkerData *gen) {
if (is_osx && build_context.ODIN_DEBUG) {
// NOTE: macOS links DWARF symbols dynamically. Dsymutil will map the stubs in the exe
// to the symbols in the object file
- result = system_exec_command_line_app("dsymutil", "dsymutil %.*s", LIT(output_filename));
+ result = system_exec_command_line_app("dsymutil", "dsymutil \"%.*s\"", LIT(output_filename));
if (result) {
return result;