[OE-core] [PATCH] libxcb: fix rebuild when MACHINE changes

Burton, Ross ross.burton at intel.com
Mon Dec 9 19:53:59 UTC 2013


On 9 December 2013 17:35, Martin Jansa <martin.jansa at gmail.com> wrote:
> On Mon, Dec 09, 2013 at 04:58:27PM +0000, Ross Burton wrote:
>> This recipe was patching the sysroot path directly into configure.ac, which
>> fails when the same source tree is re-used for another machine.
>>
>> Instead, patch in $PKG_CONFIG_SYSROOT_DIR which is already exported for use by
>> pkg-config.
>
> Does it make libxcb signature MACHINE-specific or is sysroot path
> excluded from PKG_CONFIG_SYSROOT_DIR like with STAGING_DIR_HOST?
>
> Maybe I fail to see how it fixes the issue with re-used configured
> directory.

At configure time the current sysroot is used (variable expansion
happens by the configure execution).  The signature doesn't become
machine-specific, as the logic is just replicating what pkg-config
does when reporting include paths inside the .pc files (prepending the
sysroot to them).

Ross



More information about the Openembedded-core mailing list