Skip to content

Commit d723f82

Browse files
committed
escape path of generated file
1 parent 3cc4d76 commit d723f82

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
@@ -1143,7 +1143,7 @@ int SWIG_main(int argc, char *argv[], const TargetLanguageModule *tlm) {
11431143
if (dependencies_target) {
11441144
Printf(f_dependencies_file, "%s: ", dependencies_target);
11451145
} else {
1146-
Printf(f_dependencies_file, "%s: ", outfile);
1146+
Printf(f_dependencies_file, "%s: ", Swig_filename_escape_space(outfile));
11471147
}
11481148
List *files = Preprocessor_depend();
11491149
List *phony_targets = NewList();

0 commit comments

Comments
 (0)