Skip to content

Commit e224194

Browse files
committed
escape target name
1 parent d723f82 commit e224194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Modules/main.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@ int SWIG_main(int argc, char *argv[], const TargetLanguageModule *tlm) {
11411141
} else
11421142
f_dependencies_file = stdout;
11431143
if (dependencies_target) {
1144-
Printf(f_dependencies_file, "%s: ", dependencies_target);
1144+
Printf(f_dependencies_file, "%s: ", Swig_filename_escape_space(dependencies_target));
11451145
} else {
11461146
Printf(f_dependencies_file, "%s: ", Swig_filename_escape_space(outfile));
11471147
}

0 commit comments

Comments
 (0)