summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-11-22 22:10:01 (GMT)
committerGuido van Rossum <guido@python.org>1997-11-22 22:10:01 (GMT)
commit345df170e6bc8daf8cd3687a167a910d7e4f593a (patch)
treee1f00412bc95b7aa5348465d023a15f519519f7a /Tools
parent7db30cad1ed4b87f23646ab7ebb2641b5d014b4a (diff)
downloadcpython-345df170e6bc8daf8cd3687a167a910d7e4f593a.zip
cpython-345df170e6bc8daf8cd3687a167a910d7e4f593a.tar.gz
cpython-345df170e6bc8daf8cd3687a167a910d7e4f593a.tar.bz2
os2 patch by Jeff Rush
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/freeze/freeze.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py
index 58bfecb..1f0356b 100755
--- a/Tools/freeze/freeze.py
+++ b/Tools/freeze/freeze.py
@@ -298,8 +298,9 @@ def main():
cflags = defines + includes + ['$(OPT)']
libs = [os.path.join(binlib, 'libpython$(VERSION).a')]
- makevars = parsesetup.getmakevars(makefile_in)
somevars = {}
+ if os.path.exists(makefile_in):
+ makevars = parsesetup.getmakevars(makefile_in)
for key in makevars.keys():
somevars[key] = makevars[key]