Skip to content
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

MesonToolchain and tools.build:sysroot when cross compiling? #16974

Open
klausholstjacobsen opened this issue Apr 11, 2023 · 1 comment
Open
Assignees
Labels
question Further information is requested

Comments

@klausholstjacobsen
Copy link
Contributor

klausholstjacobsen commented Apr 11, 2023

Hello
As far as I can see the MesonToolchain generator does not take tools.build:sysroot into account when generating a "cross file".
Is this correct? If so, would it be a good idea to add it?

What is the current best way of adding the sysroot to the cross file generated by MesonToolchain?

Regards
Klaus

@klausholstjacobsen klausholstjacobsen added the question Further information is requested label Apr 11, 2023
@uilianries uilianries self-assigned this Apr 5, 2024
@uilianries
Copy link
Member

Related to conan-io/conan#14987

The Conan client will support it in the future, but for the current state, would need a workaround, injecting --sysroot in cflags and so on.

https://docs.conan.io/2/reference/tools/meson/mesontoolchain.html#mesontoolchain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants