[oe] [STABLE][PATCH] postgresql: use LDFLAGS for shared libs (fixes QA error)
Jeremy Lainé
jeremy.laine at bolloretelecom.eu
Mon Apr 6 16:47:28 UTC 2009
From: Jeremy Lainé <jeremy.laine at m4x.org>
Signed-off-by: Jeremy Lainé <jeremy.laine at m4x.org>
---
recipes/postgresql/postgresql.inc | 3 +++
recipes/postgresql/postgresql_8.1.4.bb | 2 +-
recipes/postgresql/postgresql_8.1.8.bb | 2 +-
recipes/postgresql/postgresql_8.2.4.bb | 2 +-
4 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/recipes/postgresql/postgresql.inc b/recipes/postgresql/postgresql.inc
index da74516..4a11e2a 100644
--- a/recipes/postgresql/postgresql.inc
+++ b/recipes/postgresql/postgresql.inc
@@ -11,6 +11,9 @@ SRC_URI = "ftp://ftp-archives.postgresql.org/pub/source/v${PV}/${P}.tar.bz2"
LEAD_SONAME = "libpq.so"
+# LDFLAGS for shared libraries
+export LDFLAGS_SL = "${LDFLAGS}"
+
inherit autotools pkgconfig
do_compile_append() {
diff --git a/recipes/postgresql/postgresql_8.1.4.bb b/recipes/postgresql/postgresql_8.1.4.bb
index cfb0162..42ba377 100644
--- a/recipes/postgresql/postgresql_8.1.4.bb
+++ b/recipes/postgresql/postgresql_8.1.4.bb
@@ -1,3 +1,3 @@
require postgresql.inc
-PR = "r3"
+PR = "r4"
diff --git a/recipes/postgresql/postgresql_8.1.8.bb b/recipes/postgresql/postgresql_8.1.8.bb
index cfb0162..42ba377 100644
--- a/recipes/postgresql/postgresql_8.1.8.bb
+++ b/recipes/postgresql/postgresql_8.1.8.bb
@@ -1,3 +1,3 @@
require postgresql.inc
-PR = "r3"
+PR = "r4"
diff --git a/recipes/postgresql/postgresql_8.2.4.bb b/recipes/postgresql/postgresql_8.2.4.bb
index 9b60b2b..7e2c370 100644
--- a/recipes/postgresql/postgresql_8.2.4.bb
+++ b/recipes/postgresql/postgresql_8.2.4.bb
@@ -1,6 +1,6 @@
require postgresql.inc
-PR = "r3"
+PR = "r4"
DEFAULT_PREFERENCE = "-1"
SRC_URI = "http://ftp.de.postgresql.org/mirror/postgresql/source/v${PV}/${P}.tar.bz2 \
--
1.6.2.1
More information about the Openembedded-devel
mailing list