diff options
author | Guido van Rossum <guido@python.org> | 1998-03-07 04:08:04 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-03-07 04:08:04 (GMT) |
commit | 31d53ed93c82419a9b640daa86d162a6edcdc129 (patch) | |
tree | e418602561bb547a70d53fe2ace7f9d0bdedd6cb /Tools | |
parent | 6663b221984e9f0e30950f13343223d7d2873342 (diff) | |
download | cpython-31d53ed93c82419a9b640daa86d162a6edcdc129.zip cpython-31d53ed93c82419a9b640daa86d162a6edcdc129.tar.gz cpython-31d53ed93c82419a9b640daa86d162a6edcdc129.tar.bz2 |
When writing the Windows Makefile, don't forget to strip some filenames
of their output directory prefix.
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/freeze/freeze.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py index c0b5e54..3b58243 100755 --- a/Tools/freeze/freeze.py +++ b/Tools/freeze/freeze.py @@ -287,8 +287,9 @@ def main(): try: winmakemakefile.makemakefile(outfp, locals(), - [frozenmain_c, frozen_c], - target) + [frozenmain_c, + os.path.basename(frozen_c)], + os.path.basename(target)) finally: outfp.close() return |