Merge pull request #3268 from esdrubal/mono-sym-enable
[mono.git] / mono / mini / aot-compiler.c
index fab09c647c1426bfe0e61dfccf169dcd4d1cfc5f..1522b040dd3aff366fdf6b8fcadb0169bda100a6 100644 (file)
@@ -9969,7 +9969,7 @@ compile_asm (MonoAotCompile *acfg)
         * gas generates 'mapping symbols' each time code and data is mixed, which 
         * happens a lot in emit_and_reloc_code (), so we need to get rid of them.
         */
-       command = g_strdup_printf ("\"%sstrip\" --strip-symbol=\\$a --strip-symbol=\\$d %s", tool_prefix, tmp_outfile_name);
+       command = g_strdup_printf ("\"%sstrip\" --strip-symbol=\\$a --strip-symbol=\\$d %s", wrap_path(tool_prefix), wrap_path(tmp_outfile_name));
        aot_printf (acfg, "Stripping the binary: %s\n", command);
        if (execute_system (command) != 0) {
                g_free (tmp_outfile_name);