bpo-45020: Fix build out of source tree#28410
bpo-45020: Fix build out of source tree#28410vstinner merged 1 commit intopython:mainfrom vstinner:build_out_tree
Conversation
* Makefile.pre.in: Add $(srcdir) when needed, remove it when it was used by mistake. * freeze_modules.py tool uses ./Programs/_freeze_module if the executable doesn't exist in the source tree.
|
Thanks for the fix Victor. I can't give a helpful review since I'm not a Make expert, but I want to add that the previous change broke |
ericsnowcurrently
left a comment
There was a problem hiding this comment.
LGTM
Thanks for fixing this, Victor!
|
My test is to build Python out of source tree: Without this PR, it fails to build. With this PR, it builds. I also tested |
I never met a Make expert. IMO real Make experts don't say it to avoid getting questions from other developers lost with autotools :-) |
* Makefile.pre.in: Add $(srcdir) when needed, remove it when it was used by mistake. * freeze_modules.py tool uses ./Programs/_freeze_module if the executable doesn't exist in the source tree.
used by mistake.
executable doesn't exist in the source tree.
https://bugs.python.org/issue45020