Skip to content

Commit cf7802c

Browse files
committed
escape phony targets as well
1 parent e224194 commit cf7802c

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
@@ -1162,7 +1162,7 @@ int SWIG_main(int argc, char *argv[], const TargetLanguageModule *tlm) {
11621162
Printf(f_dependencies_file, "\n");
11631163
if (depend_phony) {
11641164
for (int i = 0; i < Len(phony_targets); i++) {
1165-
Printf(f_dependencies_file, "\n%s:\n", Getitem(phony_targets, i));
1165+
Printf(f_dependencies_file, "\n%s:\n", Swig_filename_escape_space(Getitem(phony_targets, i)));
11661166
}
11671167
}
11681168

0 commit comments

Comments
 (0)