-
Notifications
You must be signed in to change notification settings - Fork 946
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
[bug] MesonToolchain does not handle tools.build:sysroot #14987
Comments
Hi @jwillikers Yes, you're completely right. We should be managing that variable. Thanks for reporting it! |
For the record, this issue seems to be related: #15795 |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is your suggestion?
The
tools.build:sysroot
conf variable is not used by the MesonToolchain. A--sysroot
compiler flag should be added to the compiler and linker flags. Additionally, Meson has asys_root
cross file property that should be defined by the MesonToolchain for locating pkg-config files. This variable is documented here.Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: