-
Notifications
You must be signed in to change notification settings - Fork 21
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
Support passing pkg-config a triple-specific env variables #62
Comments
Do you have some examples how this would be used in practice? |
in rav1e we tripped in a situation in which an user sets In would be good to have a mean to have different search paths per target to avoid the or even just have a HOST_/TARGET_ split. |
Ideally you would invoke pkg-config yourself with the right env vars, instead of having pkg-config understand build / host etc. This also allows you to extend the same to other dependency search tools like cmake and qmake. This is exactly what meson does: |
Looks like pkg-config-rs, used by system-deps already support HOST/TARGET env variables. Would this do or what are you looking for exactly? |
Probably it does, I opened the issue to forward the concern a rav1e user had. |
It should mimic cargo use of triples for the compiler env.
The text was updated successfully, but these errors were encountered: