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

[bug] MesonToolchain does not handle tools.build:sysroot #14987

Open
1 task done
jwillikers opened this issue Oct 20, 2023 · 2 comments · May be fixed by #16011
Open
1 task done

[bug] MesonToolchain does not handle tools.build:sysroot #14987

jwillikers opened this issue Oct 20, 2023 · 2 comments · May be fixed by #16011
Assignees
Milestone

Comments

@jwillikers
Copy link
Contributor

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 a sys_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?

  • I've read the CONTRIBUTING guide
@franramirez688 franramirez688 self-assigned this Oct 20, 2023
@franramirez688
Copy link
Contributor

Hi @jwillikers

Yes, you're completely right. We should be managing that variable. Thanks for reporting it!

@franramirez688 franramirez688 added this to the 1.62 milestone Oct 20, 2023
@franramirez688 franramirez688 modified the milestones: 1.62, 1.63 Nov 7, 2023
@czoido czoido modified the milestones: 1.63, 1.64 Feb 12, 2024
@franramirez688
Copy link
Contributor

franramirez688 commented Mar 25, 2024

For the record, this issue seems to be related: #15795

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants