[OE-core] [PATCH] libnss-mdns: dont use hard coded /lib path

Richard Purdie richard.purdie at linuxfoundation.org
Wed Aug 3 15:17:00 UTC 2011


On Wed, 2011-08-03 at 10:15 -0500, Kumar Gala wrote:
> As libdir might not be /lib (could be /lib64) use ${libdir} instead of
> hard coded "/lib" in configure options set in EXTRA_OECONF.

Do you mean ${libdir} or ${base_libdir} ?

> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
>  .../libnss-mdns/libnss-mdns_0.10.bb                |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
> index f5df005..00f2c56 100644
> --- a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
> +++ b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
>  
>  DEPENDS = "avahi"
>  RDEPENDS_${PN} = "avahi-daemon"
> -PR = "r2"
> +PR = "r3"
>  
>  SRC_URI = "http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-${PV}.tar.gz"
>  
> @@ -21,7 +21,7 @@ inherit autotools
>  LEAD_SONAME = "libnss_mdns.so"
>  DEBIANNAME_${PN} = "libnss-mdns"
>  
> -EXTRA_OECONF = "--libdir=/lib --disable-lynx --enable-avahi"
> +EXTRA_OECONF = "--libdir=${libdir} --disable-lynx --enable-avahi"
>  
>  # TODO: pattern based configuration update
>  pkg_postinst_${PN} () {






More information about the Openembedded-core mailing list