[oe-commits] Robert Schuster : swt-gtk.inc: Properly give OE's LDFLAGS to makefile.

git version control git at git.openembedded.org
Mon Feb 8 10:39:19 UTC 2010


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

Author: Robert Schuster <robertschuster at fsfe.org>
Date:   Mon Feb  8 11:37:10 2010 +0100

swt-gtk.inc: Properly give OE's LDFLAGS to makefile.
swt3.3-gtk: Increased PR.
swt3.3-gtk-hildon: Dito.
swt3.4-gtk: Dito.
swt3.4-gtk-hildon: Dito.

---

 recipes/swt/swt-gtk.inc                |    4 ++++
 recipes/swt/swt3.3-gtk_3.3.1.bb        |    2 +-
 recipes/swt/swt3.4-gtk-hildon_3.4.2.bb |    2 +-
 recipes/swt/swt3.4-gtk-hildon_3.4.bb   |    2 +-
 recipes/swt/swt3.4-gtk_3.4.2.bb        |    2 +-
 recipes/swt/swt3.4-gtk_3.4.bb          |    2 +-
 6 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/recipes/swt/swt-gtk.inc b/recipes/swt/swt-gtk.inc
index eed628a..1c26a39 100644
--- a/recipes/swt/swt-gtk.inc
+++ b/recipes/swt/swt-gtk.inc
@@ -22,8 +22,12 @@ do_unpackpost() {
   unzip -o ../src.zip
   cp ../Makefile .
 
+  # Sets version numbers for native libraries.
   sed -i -e "s|RELEASE=OE_SWT_RELEASE|RELEASE=${PV}|" Makefile
   sed -i -e "s|SONAME_VERSION=OE_SWT_API_VERSION|SONAME_VERSION=${SWT_API_VERSION}|" Makefile
+
+  # Properly applies OE's LDFLAGS to linking step.
+  sed -i -e "s|LIBS = -shared -fPIC|LIBS = -shared ${LDFLAGS}|" make_linux.mak
 }
 
 do_compile() {
diff --git a/recipes/swt/swt3.3-gtk_3.3.1.bb b/recipes/swt/swt3.3-gtk_3.3.1.bb
index 82860ed..f6624b3 100644
--- a/recipes/swt/swt3.3-gtk_3.3.1.bb
+++ b/recipes/swt/swt3.3-gtk_3.3.1.bb
@@ -1,6 +1,6 @@
 require swt-gtk.inc
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/eclipse/downloads/drops/R-${PV}-200710231652/swt-${PV}-gtk-linux-x86.zip \
            file://Makefile"
diff --git a/recipes/swt/swt3.4-gtk-hildon_3.4.2.bb b/recipes/swt/swt3.4-gtk-hildon_3.4.2.bb
index 667e516..d834a58 100644
--- a/recipes/swt/swt3.4-gtk-hildon_3.4.2.bb
+++ b/recipes/swt/swt3.4-gtk-hildon_3.4.2.bb
@@ -1,6 +1,6 @@
 require swt3.4-gtk_${PV}.bb
 
-PR = "r0"
+PR = "r1"
 
 DEPENDS += "libhildon libhildonfm"
 
diff --git a/recipes/swt/swt3.4-gtk-hildon_3.4.bb b/recipes/swt/swt3.4-gtk-hildon_3.4.bb
index d834a58..ffccd5a 100644
--- a/recipes/swt/swt3.4-gtk-hildon_3.4.bb
+++ b/recipes/swt/swt3.4-gtk-hildon_3.4.bb
@@ -1,6 +1,6 @@
 require swt3.4-gtk_${PV}.bb
 
-PR = "r1"
+PR = "r2"
 
 DEPENDS += "libhildon libhildonfm"
 
diff --git a/recipes/swt/swt3.4-gtk_3.4.2.bb b/recipes/swt/swt3.4-gtk_3.4.2.bb
index f4b6a85..cac3677 100644
--- a/recipes/swt/swt3.4-gtk_3.4.2.bb
+++ b/recipes/swt/swt3.4-gtk_3.4.2.bb
@@ -1,6 +1,6 @@
 require swt-gtk.inc
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://ftp.wh2.tu-dresden.de/pub/mirrors/eclipse/eclipse/downloads/drops/R-3.4.2-200902111700/swt-3.4.2-gtk-linux-x86.zip \
            file://Makefile"
diff --git a/recipes/swt/swt3.4-gtk_3.4.bb b/recipes/swt/swt3.4-gtk_3.4.bb
index b6eafca..c7a534b 100644
--- a/recipes/swt/swt3.4-gtk_3.4.bb
+++ b/recipes/swt/swt3.4-gtk_3.4.bb
@@ -1,6 +1,6 @@
 require swt-gtk.inc
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://ftp.wh2.tu-dresden.de/pub/mirrors/eclipse/eclipse/downloads/drops/R-3.4-200806172000/swt-3.4-gtk-linux-x86.zip \
            file://Makefile"





More information about the Openembedded-commits mailing list