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

Skip to content

Commit 31d53ed

Browse files
committed
When writing the Windows Makefile, don't forget to strip some filenames
of their output directory prefix.
1 parent 6663b22 commit 31d53ed

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Tools/freeze/freeze.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,9 @@ def main():
287287
try:
288288
winmakemakefile.makemakefile(outfp,
289289
locals(),
290-
[frozenmain_c, frozen_c],
291-
target)
290+
[frozenmain_c,
291+
os.path.basename(frozen_c)],
292+
os.path.basename(target))
292293
finally:
293294
outfp.close()
294295
return

0 commit comments

Comments
 (0)