summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Niemeyer <gustavo@niemeyer.net>2004-05-08 17:59:43 (GMT)
committerGustavo Niemeyer <gustavo@niemeyer.net>2004-05-08 17:59:43 (GMT)
commitffa5a5015a359045d7efb2c4cd0b5738c97b86ce (patch)
treeacfdeecca9ece98dc999be54bd6e2a059ce622e0
parent253d1f445bcd0cbd5a2c47e1559bf1c09da50d89 (diff)
downloadcpython-ffa5a5015a359045d7efb2c4cd0b5738c97b86ce.zip
cpython-ffa5a5015a359045d7efb2c4cd0b5738c97b86ce.tar.gz
cpython-ffa5a5015a359045d7efb2c4cd0b5738c97b86ce.tar.bz2
Small fixes in freeze.py.
-rwxr-xr-xTools/freeze/freeze.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py
index 1ec8135..c2c3c2e 100755
--- a/Tools/freeze/freeze.py
+++ b/Tools/freeze/freeze.py
@@ -228,7 +228,7 @@ def main():
config_h_dir = exec_prefix
config_c_in = os.path.join(prefix, 'Modules', 'config.c.in')
frozenmain_c = os.path.join(prefix, 'Python', 'frozenmain.c')
- makefile_in = os.path.join(exec_prefix, 'Modules', 'Makefile')
+ makefile_in = os.path.join(exec_prefix, 'Makefile')
if win:
frozendllmain_c = os.path.join(exec_prefix, 'Pc\\frozen_dllmain.c')
else:
@@ -461,8 +461,8 @@ def main():
somevars = {}
if os.path.exists(makefile_in):
makevars = parsesetup.getmakevars(makefile_in)
- for key in makevars.keys():
- somevars[key] = makevars[key]
+ for key in makevars.keys():
+ somevars[key] = makevars[key]
somevars['CFLAGS'] = ' '.join(cflags) # override
somevars['CPPFLAGS'] = ' '.join(cppflags) # override