[oe] [STABLE][PATCH] cups: use LDFLAGS for shared libs (fixes QA error)

Koen Kooi k.kooi at student.utwente.nl
Mon Apr 6 14:01:43 UTC 2009


On 06-04-09 14:18, Jeremy Lainé wrote:
> From: Jeremy Lainé<jeremy.laine at m4x.org>

Acked-by: Koen Kooi <koen at openembedded.org>


>
>
> Signed-off-by: Jeremy Lainé<jeremy.laine at m4x.org>
> ---
>   recipes/cups/cups.inc       |    4 +---
>   recipes/cups/cups_1.2.12.bb |    2 +-
>   recipes/cups/cups_1.3.8.bb  |    2 +-
>   3 files changed, 3 insertions(+), 5 deletions(-)
>
> diff --git a/recipes/cups/cups.inc b/recipes/cups/cups.inc
> index bbf2377..59075fb 100644
> --- a/recipes/cups/cups.inc
> +++ b/recipes/cups/cups.inc
> @@ -8,8 +8,6 @@ SRC_URI = "ftp://ftp.easysw.com/pub/cups/${PV}/cups-${PV}-source.tar.bz2 \
>
>   inherit autotools binconfig
>
> -LDFLAGS += " -L${STAGING_LIBDIR} "
> -
>   EXTRA_OECONF = " \
>                   --enable-gnutls \
>   		--enable-dbus \
> @@ -26,7 +24,7 @@ EXTRA_OECONF = " \
>   do_configure() {
>   	gnu-configize
>   	libtoolize --force
> -	oe_runconf
> +	DSOFLAGS="${LDFLAGS}" oe_runconf
>   }
>
>   do_compile () {
> diff --git a/recipes/cups/cups_1.2.12.bb b/recipes/cups/cups_1.2.12.bb
> index bbe3c5d..4f7d0d4 100644
> --- a/recipes/cups/cups_1.2.12.bb
> +++ b/recipes/cups/cups_1.2.12.bb
> @@ -1,2 +1,2 @@
>   require cups.inc
> -PR = "r1"
> +PR = "r2"
> diff --git a/recipes/cups/cups_1.3.8.bb b/recipes/cups/cups_1.3.8.bb
> index e9fd985..79cbc32 100644
> --- a/recipes/cups/cups_1.3.8.bb
> +++ b/recipes/cups/cups_1.3.8.bb
> @@ -1,7 +1,7 @@
>   require cups.inc
>
>   SRC_URI += "file://use_echo_only_in_init.patch;patch=1"
> -PR = "r1"
> +PR = "r2"
>
>   DEFAULT_PREFERENCE = "-1"
>






More information about the Openembedded-devel mailing list