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

Detect _host_prefix and allow cross pkg-config #1065

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

skitt
Copy link
Contributor

@skitt skitt commented Jan 31, 2025

stella fails to cross build from source on Unix-style platforms, because ./configure hard codes the build architecture pkg-config and thus fails finding libraries. It already has a bit of knowledge about cross compilation and actually considers a _host_prefix for some tools. Unfortunately, _host_prefix is not yet generally initialized and it also does not prepend _host_prefix to pkg-config.

This fixes these issues.

Forwarded from https://bugs.debian.org/1094710.

stella fails to cross build from source on Unix-style platforms,
because ./configure hard codes the build architecture pkg-config and
thus fails finding libraries. It already has a bit of knowledge about
cross compilation and actually considers a _host_prefix for some
tools. Unfortunately, _host_prefix is not yet generally initialized
and it also does not prepend _host_prefix to pkg-config.

This fixes these issues.

Signed-off-by: Stephen Kitt <[email protected]>
@sa666666 sa666666 merged commit e85ca9b into stella-emu:master Jan 31, 2025
3 checks passed
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.

3 participants