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

Use pkg-config for cross-builds #321

Closed
wants to merge 2 commits into from
Closed

Use pkg-config for cross-builds #321

wants to merge 2 commits into from

Conversation

dimkr
Copy link
Contributor

@dimkr dimkr commented Feb 3, 2020

Now that microsoft/vscode#86659 is merged, clean cross-compilation is possible.

We specify the compilers and the pkg-config to use and take advantage of apt-get download to fetch dependency packages for the target architecture. Since these are Ubuntu packages, libraries go to per-architecture paths, so we can safely extract the packages to / and the library paths returned by the pkg-config wrapper lead the linker to those paths.

This PR can be tested only when the next version is tagged.

@dimkr dimkr closed this Mar 4, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant