os2 patch by Jeff Rush

This commit is contained in:
Guido van Rossum 1997-11-22 22:10:01 +00:00
parent 7db30cad1e
commit 345df170e6
1 changed files with 2 additions and 1 deletions

View File

@ -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]