[oe-commits] Jeremy Lainé : cups: use LDFLAGS for shared libs ( fixes QA error)

GIT User account git at amethyst.openembedded.net
Tue Apr 7 11:36:51 UTC 2009


Module: openembedded.git
Branch: stable/2009
Commit: 8f3a7a8b73091971bcd42a7042edaeb45c6be6f9
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8f3a7a8b73091971bcd42a7042edaeb45c6be6f9

Author: Jeremy Lainé <jeremy.laine at m4x.org>
Date:   Mon Apr  6 02:18:33 2009 +0000

cups: use LDFLAGS for shared libs (fixes QA error)

Signed-off-by: Jeremy Lainé <jeremy.laine at m4x.org>
Acked-by: Koen Kooi <koen at openembedded.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-commits mailing list