diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py index c0b5e54d983..3b58243b242 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