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

force pkg-config to only use --prefix when cross-compiling #1481

Closed
wants to merge 1 commit into from

Commits on Oct 29, 2019

  1. force pkg-config to only use --prefix when cross-compiling

    The current pkg-config setup has no sense of whether it is cross-compiling,
    so it will detect things on the build system that are not present or are
    wrong for the host system.  This forces the cross-compiling build to only
    look for pkg-config .pc files in --prefix.
    
    A version of this has been the setup for many years with the Android builds.
    
    Fixes #32191
    
    Signed-off-by: Hans-Christoph Steiner <hans@eds.org>
    eighthave committed Oct 29, 2019
    Configuration menu
    Copy the full SHA
    f32cdf8 View commit details
    Browse the repository at this point in the history