summaryrefslogtreecommitdiffstats
path: root/Tools/freeze/freeze.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/freeze/freeze.py')
-rwxr-xr-xTools/freeze/freeze.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py
index b584ec5..181e845 100755
--- a/Tools/freeze/freeze.py
+++ b/Tools/freeze/freeze.py
@@ -240,6 +240,9 @@ def main():
outfp = open(frozen_c, 'w')
try:
makefreeze.makefreeze(outfp, dict)
+ if win and subsystem == 'windows':
+ import winmakemakefile
+ outfp.write(winmakemakefile.WINMAINTEMPLATE)
finally:
outfp.close()
if backup: