[OE-core] [PATCH 1/1] meson: export native env only for native build

Martin Kelly mkelly at xevo.com
Thu Nov 16 18:17:54 UTC 2017


On 11/16/2017 09:52 AM, Alexander Kanavin wrote:
> On 11/15/2017 07:53 PM, Martin Kelly wrote:
> 
>> +meson_do_configure_prepend_class-native() {
>> +    export PKG_CONFIG="pkg-config-native"
>> +}
>> +
> 
> What does this bit do? Should it go to a separate patch?
> 
> Alex

This is from Ross Burton's patch to meta-oe 
6e2d975fc16f4228a2d952bde1a874f337281ada ("meson: export PKG_CONFIG to 
use pkg-config-native for native builds").

Since it's already present in meta-oe, this logic doesn't need a 
separate patch for meta-oe; I just moved the line into 
meson_do_configure instead of making it global. However, your branch 
doesn't have Ross's patch. Ideally, I think you should first cherry-pick 
Ross Burton's patch into your branch and then put my patch on top of it.



More information about the Openembedded-core mailing list