[poky] [PATCH 2/4] elfutils: add a missing depedancy

Richard Purdie richard.purdie at linuxfoundation.org
Tue Feb 1 14:00:28 PST 2011


On Tue, 2011-02-01 at 03:57 -0800, Nitin A Kamble wrote:
> From: Nitin A Kamble <nitin.a.kamble at intel.com>
> 
> while implementing the mklibs optimization, found out that an executable from
> elfutils package, viz eu-findtextrel is dynamically linked to libbz2.so
> library. But the poky-image-minimal did not have that library.
>   adding the depedency to the bzip2 to get that library for eu-fundtextrel
> executable.
> 
> Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
> ---
>  meta/recipes-devtools/elfutils/elfutils_0.148.bb |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-devtools/elfutils/elfutils_0.148.bb b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
> index 44b3c52..14060e6 100644
> --- a/meta/recipes-devtools/elfutils/elfutils_0.148.bb
> +++ b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
> @@ -5,8 +5,9 @@ LICENSE = "GPLv2 with exceptions"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3\
>                      file://EXCEPTION;md5=570adcb0c1218ab57f2249c67d0ce417"
>  DEPENDS = "libtool zlib"
> +RDEPENDS = "bzip2"

There should be a package name here, e.g. RDEPENDS_${PN}.

Also, why is the shlibs code not picking up the dependency
automatically? Is it dlopen'd?

Cheers,

Richard




More information about the poky mailing list