Explorar o código

quote the dsymutil argument

Fixes #4417
Laytan Laats hai 10 meses
pai
achega
bcf2b93c6e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/linker.cpp

+ 1 - 1
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;