]> granicus.if.org Git - python/commitdiff
Minor change for windows; set extensions_c later and set
authorGuido van Rossum <guido@python.org>
Tue, 7 Jul 1998 22:47:38 +0000 (22:47 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 7 Jul 1998 22:47:38 +0000 (22:47 +0000)
frozendllmain_c at the right place.

Tools/freeze/freeze.py

index 0818c4bb7c2a692a085c7995b96c90ae74d9edf3..dbca9639a1c181c9818009fc5302a3164b506063 100755 (executable)
@@ -117,7 +117,6 @@ def main():
     target = 'a.out'                    # normally derived from script name
     makefile = 'Makefile'
     subsystem = 'console'
-    if win: extensions_c = 'frozen_extensions.c'
 
     # parse command line
     try:
@@ -171,6 +170,8 @@ def main():
 
     # locations derived from options
     version = sys.version[:3]
+    if win:
+        extensions_c = 'frozen_extensions.c'
     if ishome:
         print "(Using Python source directory)"
         binlib = exec_prefix
@@ -190,6 +191,7 @@ def main():
         config_c_in = os.path.join(binlib, 'config.c.in')
         frozenmain_c = os.path.join(binlib, 'frozenmain.c')
         makefile_in = os.path.join(binlib, 'Makefile')
+        frozendllmain_c = os.path.join(binlib, 'frozen_dllmain.c')
     supp_sources = []
     defines = []
     includes = ['-I' + incldir, '-I' + config_h_dir]