diff options
Diffstat (limited to 'Tools/freeze/freeze.py')
-rwxr-xr-x | Tools/freeze/freeze.py | 3 |
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] |