[oe] How to select specific version of dependant component

Khem Raj raj.khem at gmail.com
Thu Jun 24 15:18:48 UTC 2010


On (24/06/10 16:51), Andrew Tverdohlebov wrote:
> Dear openembedded community,
> 
> Could you give me a hint how to write a recipe that refers to specific version of a library.

you can use PREFERRED_VERSION_libnet_local = "1.0.2" in your local.conf

> 
> For example my package depends on libnet 1.0.2
> If I write
> DEPENDS += "libnet"
> it will take libnet with maximum version number 1.1.2
> How can I instruct bitbake to take libnet 1.0.2 ?
> 
> In other recipes I saw something like
> DEPENDS += "libnet (= 1.0.2)"
> 
> But it doesn't work in my case for some reason.
> 
> Huge thanks in advance,
> Andrew
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list