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

[build] Support pkg-config cross-compilation #11

Merged
merged 1 commit into from Nov 30, 2023

Conversation

JamiKettunen
Copy link
Contributor

Previously to cross-compile one would need to add a pkg-config executable in $PATH wrapping all the search paths required; now one can e.g. make PKG_CONFIG=foreign-arch-target-pkg-config with the wrapper executable being separate and allowing programs for host to also be built if needed for example.

Previously to cross-compile one would need to add a pkg-config
executable in $PATH wrapping all the search paths required; now one can
e.g.

  make PKG_CONFIG=foreign-arch-target-pkg-config

with the wrapper executable being separate and allowing programs for
host to also be built if needed for example.
@monich monich merged commit d5c7958 into sailfishos:master Nov 30, 2023
@monich
Copy link
Member

monich commented Nov 30, 2023

Thanks!

@Thaodan
Copy link

Thaodan commented Dec 1, 2023

Great idea. The new behaviour also matches the behaviour of autoconf now.

@JamiKettunen JamiKettunen deleted the cross-pkgconf branch December 1, 2023 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants