diff options
author | Guido van Rossum <guido@python.org> | 1998-07-07 22:47:38 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-07-07 22:47:38 (GMT) |
commit | 5e32a77fcd906ffad26eb3379c358f33f516836a (patch) | |
tree | 02c1abb5b2d53e97d447995f23857d0bda3ffc4a /Tools/freeze | |
parent | b84ef9bc617d5b5c2ee21c991ca9d3d97aa5703e (diff) | |
download | cpython-5e32a77fcd906ffad26eb3379c358f33f516836a.zip cpython-5e32a77fcd906ffad26eb3379c358f33f516836a.tar.gz cpython-5e32a77fcd906ffad26eb3379c358f33f516836a.tar.bz2 |
Minor change for windows; set extensions_c later and set
frozendllmain_c at the right place.
Diffstat (limited to 'Tools/freeze')
-rwxr-xr-x | Tools/freeze/freeze.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py index 0818c4b..dbca963 100755 --- a/Tools/freeze/freeze.py +++ b/Tools/freeze/freeze.py @@ -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] |