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

Skip to content

Commit ffa5a50

Browse files
committed
Small fixes in freeze.py.
1 parent 253d1f4 commit ffa5a50

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Tools/freeze/freeze.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def main():
228228
config_h_dir = exec_prefix
229229
config_c_in = os.path.join(prefix, 'Modules', 'config.c.in')
230230
frozenmain_c = os.path.join(prefix, 'Python', 'frozenmain.c')
231-
makefile_in = os.path.join(exec_prefix, 'Modules', 'Makefile')
231+
makefile_in = os.path.join(exec_prefix, 'Makefile')
232232
if win:
233233
frozendllmain_c = os.path.join(exec_prefix, 'Pc\\frozen_dllmain.c')
234234
else:
@@ -461,8 +461,8 @@ def main():
461461
somevars = {}
462462
if os.path.exists(makefile_in):
463463
makevars = parsesetup.getmakevars(makefile_in)
464-
for key in makevars.keys():
465-
somevars[key] = makevars[key]
464+
for key in makevars.keys():
465+
somevars[key] = makevars[key]
466466

467467
somevars['CFLAGS'] = ' '.join(cflags) # override
468468
somevars['CPPFLAGS'] = ' '.join(cppflags) # override

0 commit comments

Comments
 (0)