[yocto] pkg-config search directories

Burton, Ross ross.burton at intel.com
Tue Oct 3 08:02:00 PDT 2017


You don't need to, it will search the host.

Ross

On 3 October 2017 at 15:54, eliya.mir at gmail.com <eliya.mir at gmail.com> wrote:

> Hi Ross,
> how to configure use of pkg-config-native ?
>
> On Tue, Oct 3, 2017 at 5:51 PM, Burton, Ross <ross.burton at intel.com>
> wrote:
>
>> On 3 October 2017 at 15:13, eliya.mir at gmail.com <eliya.mir at gmail.com>
>> wrote:
>>
>>> Hi all,
>>> I am new to the Yocto project.
>>> Is this the Yocto forum ?
>>> I would like configure pkg-config search directories but, the program
>>> configured from the sysroots file system, so it does not see Host
>>> environment variables.
>>> i.e : there are two pkg-config apps : Host's pkg-config located at
>>> /usr/bin/ , and bitbake pkg-config located at ~/Yocto/build/tmp/sysroots/
>>> x86_64-linux/usr/bin/
>>>
>>>
>> If you want to access pkg-config files on the host, you'll need to use
>> the pkg-config-native binary as pkg-config uses the *target* sysroots.
>>
>> Ross
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171003/e6e8d2e6/attachment.html>


More information about the yocto mailing list