[Mesa-dev] [PATCH] configure: replace pkg-config calls $(PKG_CONFIG) in the makefiles.

Stéphane Marchesin stephane.marchesin at gmail.com
Mon Oct 3 15:59:56 PDT 2011


2011/10/3 Chad Versace <chad at chad-versace.us>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 10/03/2011 03:20 PM, Stéphane Marchesin wrote:
>> Us poor souls who cross compile mesa want to be able to specify which pkg-config to pick, or at least just change one place.
>
> Would setting PKG_CONFIG_PATH at configuration time solve your problem?
>
> When I cross-compile or do other pkg-config hocus pocus, I invoke configure as
>        ./configure ... PKG_CONFIG_PATH=/my-libdrm/pkgconfig
>

But that won't override the Makefiles containing hardcoded calls to
pkg-config, or did I miss something?

Stéphane


More information about the mesa-dev mailing list