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

GIT User account git at amethyst.openembedded.net
Mon Apr 6 13:41:26 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 66fe0d8e7fdf7ac665ed8d1facae3143aacf4de4
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=66fe0d8e7fdf7ac665ed8d1facae3143aacf4de4

Author: Jeremy Lainé <jeremy.laine at m4x.org>
Date:   Mon Apr  6 13:38:24 2009 +0000

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

---

 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 \





More information about the Openembedded-commits mailing list