You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2017-11-25.16:26:38.332>created_at=<Date2017-11-17.11:19:21.793>labels= ['type-bug', '3.7', 'build']
title='detect_modules() in setup.py must also search the sysroot paths'updated_at=<Date2017-11-25.16:52:23.032>user='https://github.com/xdegaye'
When cross-compiling, the gcc and clang --sysroot= compiler option may be used to change the logical path of the system headers and libraries to a path located within the install path of the cross-compiler tool chain.
Android is a special case:
--------------------------
With Unified Headers [1], the most recent versions of the Android NDK add an additional constraint: the root paths of usr/include and usr/lib are distinct. For example when cross-compiling for API 24 and the x86_64 architecture the full paths are:
To use sysroot in this example one needs to set sysroot to ANDROID_NDK_ROOT/sysroot in CFLAGS or CPPFLAGS and to set sysroot to ANDROID_NDK_ROOT/platforms/android-24/arch-x86_64 in LDFLAGS, while on a standard platform where the root path of usr/include and usr/lib is common, one would only need to set sysroot to this root path in CFLAGS.
New changeset 04af8ac by xdegaye (Miss Islington (bot)) in branch '3.6': bpo-32059: setup.py now also searches the sysroot paths (GH-4452) (bpo-4562) 04af8ac
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: