From 345df170e6bc8daf8cd3687a167a910d7e4f593a Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 22 Nov 1997 22:10:01 +0000 Subject: [PATCH] os2 patch by Jeff Rush --- Tools/freeze/freeze.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py index 58bfecb0e7a..1f0356b0716 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]