Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 345df17

Browse files
committed
os2 patch by Jeff Rush
1 parent 7db30ca commit 345df17

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Tools/freeze/freeze.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,9 @@ def main():
298298
cflags = defines + includes + ['$(OPT)']
299299
libs = [os.path.join(binlib, 'libpython$(VERSION).a')]
300300

301-
makevars = parsesetup.getmakevars(makefile_in)
302301
somevars = {}
302+
if os.path.exists(makefile_in):
303+
makevars = parsesetup.getmakevars(makefile_in)
303304
for key in makevars.keys():
304305
somevars[key] = makevars[key]
305306

0 commit comments

Comments
 (0)