[poky] Library paths for Makefile based recipes

Darren Hart dvhart at linux.intel.com
Wed Dec 29 08:19:10 PST 2010


On 12/29/2010 01:18 AM, Koen Kooi wrote:
>
> Op 29 dec 2010, om 01:29 heeft Darren Hart het volgende geschreven:
>
>> I'm working on packaging kernelshark ("make gui" for the trace-cmd recipe
>> basically). It fails trying to link to -lgtk-x11-2.0. I have added gtk+
>> as a DEPENDS and the library does exist in the sysroots. I have also added
>> "inherit pkgconfig" as the project Makefile uses it extensively.
>
> 'inherit pkgconfig' only does DEPENDS_prepend = "pkgconfig-native "

Right, but omitting it could result in the package being built using the 
host pkg-config, which shouldn't be a build dependency.


-- 
Darren Hart
Yocto Linux Kernel



More information about the poky mailing list