Difference between revisions of "Managing RDEPENDS into a recipe"

From KoanSoftware Wiki
Jump to: navigation, search
(Created page with "== Managing RDEPENDS into a recipe with Yocto Project / Openembedded == If you need to add a shared library into a final image you have to use the RDEPENDS keyword into the r...")
(No difference)

Revision as of 13:29, 25 July 2018

Managing RDEPENDS into a recipe with Yocto Project / Openembedded

If you need to add a shared library into a final image you have to use the RDEPENDS keyword into the recipe. Although the official Yocto Project / Openembedded documentation state that you have to use a simple RDEPENDS keyword specifying the name of the package providing quch library, in some cases you need to specify the '-lib' version of the package providing the library.

For example using 'ncurses' you could expect to use this syntax

 RDEPENDS_${PN} = "ncurses"

but actually you need to specify this

 RDEPENDS_${PN} = "ncurses-libncurses"