mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
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.
This commit is contained in:
parent
a0c700480b
commit
6aaf4cd866
5 changed files with 200 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue