File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353Build
5454-----
5555
56+ - Issue #20211: Do not add the directory for installing C header files and the
57+ directory for installing object code libraries to the cross compilation
58+ search paths. Original patch by Thomas Petazzoni.
59+
5660- Issue #28849: Do not define sys.implementation._multiarch on Android.
5761
5862
Original file line number Diff line number Diff line change @@ -532,8 +532,9 @@ def detect_modules(self):
532532 for directory in reversed (options .dirs ):
533533 add_dir_to_list (dir_list , directory )
534534
535- if os .path .normpath (sys .base_prefix ) != '/usr' \
536- and not sysconfig .get_config_var ('PYTHONFRAMEWORK' ):
535+ if (not cross_compiling and
536+ os .path .normpath (sys .base_prefix ) != '/usr' and
537+ not sysconfig .get_config_var ('PYTHONFRAMEWORK' )):
537538 # OSX note: Don't add LIBDIR and INCLUDEDIR to building a framework
538539 # (PYTHONFRAMEWORK is set) to avoid # linking problems when
539540 # building a framework with different architectures than
You can’t perform that action at this time.
0 commit comments