[Buildroot] [PATCH 1/1] package/pkg-meson.mk: set correct pkgconfig for native dependencies

Arnout Vandecappelle arnout at mind.be
Tue Apr 28 06:48:21 UTC 2020



On 28/04/2020 07:32, Thomas Petazzoni wrote:
> On Mon, 27 Apr 2020 23:28:05 -0600
> James Hilliard <james.hilliard1 at gmail.com> wrote:
> 
>>> Could you have a look at the patch below? My understanding is that your
>>> commit 4e0bc29993376613d200e892d491e31ea5a49622 should have made this
>>> unnecessary. Could you comment ?  
>> I've confirmed with upstream that this option can only be passed via
>> command line
>> and not via cross-compilation.conf at the moment so I'm fairly confident that
>> 4e0bc29993376613d200e892d491e31ea5a49622 would not fix this issue.
> 
> But then I wonder what is the point of
> 4e0bc29993376613d200e892d491e31ea5a49622 and how it can have worked ?

 That commit also added sys_root to cross-compilation.conf. It's very well
possible that for the single thing that was tested with it (goi), the sys_root
change was sufficient to make it pass. I don't remember if I double-checked if
the pkg_config_libdir was taken into account. It was purely based on reading the
meson source code.


 Regards,
 Arnout

> 
> Or is it necessary *in* addition to passing -Dbuild.pkg_config_path ?
> 
> Thanks,
> 
> Thomas
> 


More information about the buildroot mailing list