quote the dsymutil argument

Fixes #4417
This commit is contained in:
Laytan Laats
2024-10-25 15:34:59 +02:00
parent f047f804f6
commit bcf2b93c6e

View File

@@ -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;