On 15 Mar 2024, at 13:51, Ashu Joshi <ashujosh...@gmail.com> wrote: > > Thanks Ross. I am able to resolve the error after using pkg-config-native. > For my understanding, can you please explain the difference between pkgconfig > and pkgconfig-native. When are we supposed to use pkgconfig.? > I am relatively new to this, so I want to understand this better.
Any recipe that is -native is for running on the build machine. So pkgconfig-native builds and provides a pkgconfig binary that you can run at build time. Otherwise the binaries are for the target, which isn’t any good if you need to run it on the build machine. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62768): https://lists.yoctoproject.org/g/yocto/message/62768 Mute This Topic: https://lists.yoctoproject.org/mt/104927594/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-