-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow overriding SYSROOT for e.g. cross-compilation #194
Comments
I'm not sure I follow. What is |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When cross-compiling distutils packages, distutils injects
-I/usr/include/python3.10
which isn't prefixed and doesn't respectSYSROOT
.In this case, it should be
-I/usr/include/armv7a-unknown-linux-gnueabihf/python3.10
instead.Bad example:
The following patch (thanks @Arfrever) works when tested in Gentoo but I'm not filing a PR with it yet in case it's the wrong approach:
The text was updated successfully, but these errors were encountered: