diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2022-04-05 06:05:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-05 06:05:36 (GMT) |
commit | 6aaf4cd866f7c8f065d30d2a3fb4fffa8461d1d8 (patch) | |
tree | 71ca040fb7a41b58fe626902bc808e3dd12c2ec0 /Makefile.pre.in | |
parent | a0c700480b52dffab830d52e9c4eba15d4b57a89 (diff) | |
download | cpython-6aaf4cd866f7c8f065d30d2a3fb4fffa8461d1d8.zip cpython-6aaf4cd866f7c8f065d30d2a3fb4fffa8461d1d8.tar.gz cpython-6aaf4cd866f7c8f065d30d2a3fb4fffa8461d1d8.tar.bz2 |
bpo-46890: Fix setting of sys._base_executable with framework builds on macOS (GH-31958)
The side effect of this bug was that venv environments directly
used the main interpreter instead of the intermediate stub executable,
which can cause problems when a script uses system APIs that
require the use of an application bundle.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index c1e58f7..9e0dae0 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1218,6 +1218,7 @@ Modules/getpath.o: $(srcdir)/Modules/getpath.c Python/frozen_modules/getpath.h M -DVERSION='"$(VERSION)"' \ -DVPATH='"$(VPATH)"' \ -DPLATLIBDIR='"$(PLATLIBDIR)"' \ + -DPYTHONFRAMEWORK='"$(PYTHONFRAMEWORK)"' \ -o $@ $(srcdir)/Modules/getpath.c Programs/python.o: $(srcdir)/Programs/python.c |