mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #28046: Remove platform-specific directories from sys.path
This commit is contained in:
parent
b44acebc7b
commit
c4b53afce4
10 changed files with 24 additions and 37 deletions
9
configure
vendored
9
configure
vendored
|
@ -712,7 +712,6 @@ EGREP
|
|||
NO_AS_NEEDED
|
||||
MULTIARCH_CPPFLAGS
|
||||
PLATFORM_TRIPLET
|
||||
PLATDIR
|
||||
MULTIARCH
|
||||
ac_ct_CXX
|
||||
MAINCC
|
||||
|
@ -2929,7 +2928,7 @@ $as_echo_n "checking for python interpreter for cross build... " >&6; }
|
|||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $interp" >&5
|
||||
$as_echo "$interp" >&6; }
|
||||
PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib:$(srcdir)/Lib/$(PLATDIR) '$interp
|
||||
PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib '$interp
|
||||
fi
|
||||
# Used to comment out stuff for rebuilding generated files
|
||||
GENERATED_COMMENT='#'
|
||||
|
@ -5361,12 +5360,6 @@ if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then
|
|||
elif test x$PLATFORM_TRIPLET != x && test x$MULTIARCH = x; then
|
||||
MULTIARCH=$PLATFORM_TRIPLET
|
||||
fi
|
||||
if test x$PLATFORM_TRIPLET = x; then
|
||||
PLATDIR=plat-$MACHDEP
|
||||
else
|
||||
PLATDIR=plat-$PLATFORM_TRIPLET
|
||||
fi
|
||||
|
||||
|
||||
if test x$MULTIARCH != x; then
|
||||
MULTIARCH_CPPFLAGS="-DMULTIARCH=\\\"$MULTIARCH\\\""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue