2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 53
53
Build
54
54
-----
55
55
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
+
56
60
- Issue #28849: Do not define sys.implementation._multiarch on Android.
57
61
58
62
Original file line number Diff line number Diff line change @@ -532,8 +532,9 @@ def detect_modules(self):
532
532
for directory in reversed (options .dirs ):
533
533
add_dir_to_list (dir_list , directory )
534
534
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' )):
537
538
# OSX note: Don't add LIBDIR and INCLUDEDIR to building a framework
538
539
# (PYTHONFRAMEWORK is set) to avoid # linking problems when
539
540
# building a framework with different architectures than
0 commit comments