Skip to content

Commit 6d61cb4

Browse files
committed
#1203650: allow larger list of files in windows makefile for freeze.
1 parent 9c14f2f commit 6d61cb4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Tools/freeze/winmakemakefile.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,14 @@ def realwork(vars, moddefns, target):
134134
print() ; print()
135135

136136
print("$(target)$(debug_suffix)%s: $(temp_dir) $(OBJS)" % (target_ext))
137-
print("\tlink -out:$(target)$(debug_suffix)%s %s" % (target_ext, target_link_flags), end=' ')
138-
print("\t$(OBJS) \\")
139-
print("\t$(LIBS) \\")
140-
print("\t$(ADDN_LINK_FILES) \\")
141-
print("\t$(pythonlib) $(lcustom) $(l_debug)\\")
137+
print("\tlink -out:$(target)$(debug_suffix)%s %s" %
138+
(target_ext, target_link_flags), "@<<")
139+
print("\t$(OBJS)")
140+
print("\t$(LIBS)")
141+
print("\t$(ADDN_LINK_FILES)")
142+
print("\t$(pythonlib) $(lcustom) $(l_debug)")
142143
print("\t$(resources)")
144+
print("<<")
143145
print()
144146
print("clean:")
145147
print("\t-rm -f *.obj")

0 commit comments

Comments
 (0)