bpo-45020: Fix build out of source tree by vstinner · Pull Request #28410 · python/cpython

@vstinner

* 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.

ericsnowcurrently

niyas-sait pushed a commit to niyas-sait/cpython that referenced this pull request

Sep 21, 2021
* 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.