[OE-core] [PATCH V2 02/25] shlibpackaging.bbclass: create common class

Phil Blundell philb at gnu.org
Wed Jul 13 09:17:24 UTC 2011


On Wed, 2011-07-13 at 00:33 -0700, Saul Wold wrote:
> +RDEPENDS_lib${PN} = "${PN}"

Why do we want lib${PN} to have a hard dependency on ${PN}?  This seems
somewhat backwards to me.  

Also, if ${PN} is the one with the binaries then it will get an
auto-generated dependency back to lib${PN} anyway and it looks like this
will cause a dependency loop.

Also also, if it really is correct for lib${PN} to RDEPEND on ${PN}
then, in the general case, it probably ought to be a precisely versioned
dependency to guarantee correctness.  Individual recipes can relax that
if they want to.

p.






More information about the Openembedded-core mailing list