Managing RDEPENDS into a recipe

From KoanSoftware Wiki
Revision as of 13:29, 25 July 2018 by Koan (talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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"