aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/pth
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2009-04-06 12:16:20 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2009-04-06 12:16:20 +0000
commitfd2069004f0d17c0edd3dd4130a58419d6b524ad (patch)
tree2a5cb1f7e9c617733f72742033b658fc85cebe68 /recipes/pth
parent42b3663b07fedb2e7bd19328fbc872cc561b3ac0 (diff)
downloadopenembedded-fd2069004f0d17c0edd3dd4130a58419d6b524ad.tar.gz
openembedded-fd2069004f0d17c0edd3dd4130a58419d6b524ad.tar.bz2
openembedded-fd2069004f0d17c0edd3dd4130a58419d6b524ad.zip
pth: use LDFLAGS (fixes QA error)
Diffstat (limited to 'recipes/pth')
-rw-r--r--recipes/pth/files/ldflags.patch16
-rw-r--r--recipes/pth/pth_2.0.2.bb3
2 files changed, 18 insertions, 1 deletions
diff --git a/recipes/pth/files/ldflags.patch b/recipes/pth/files/ldflags.patch
new file mode 100644
index 0000000000..9537ca8e19
--- /dev/null
+++ b/recipes/pth/files/ldflags.patch
@@ -0,0 +1,16 @@
+diff -urN pth-2.0.2.orig/Makefile.in pth-2.0.2/Makefile.in
+--- pth-2.0.2.orig/Makefile.in 2004-07-13 10:48:10.000000000 +0000
++++ pth-2.0.2/Makefile.in 2009-04-06 12:12:37.000000000 +0000
+@@ -168,10 +168,10 @@
+
+ # build the static and possibly shared libraries
+ libpth.la: $(LOBJS)
+- $(LIBTOOL) --mode=link --quiet $(CC) -o libpth.la $(LOBJS) \
++ $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o libpth.la $(LOBJS) \
+ -rpath $(libdir) -version-info `$(SHTOOL) version -lc -dlibtool $(_VERSION_FILE)`
+ libpthread.la: pthread.lo $(LOBJS)
+- $(LIBTOOL) --mode=link --quiet $(CC) -o libpthread.la pthread.lo $(LOBJS) \
++ $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o libpthread.la pthread.lo $(LOBJS) \
+ -rpath $(libdir) -version-info `$(SHTOOL) version -lc -dlibtool $(_VERSION_FILE)`
+
+ # build the manual pages
diff --git a/recipes/pth/pth_2.0.2.bb b/recipes/pth/pth_2.0.2.bb
index 81b8a71b63..2583e030fd 100644
--- a/recipes/pth/pth_2.0.2.bb
+++ b/recipes/pth/pth_2.0.2.bb
@@ -2,10 +2,11 @@ DESCRIPTION = "GNU Portable Threads"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL LGPL FDL"
-PR = "r1"
+PR = "r2"
SRC_URI = "${GNU_MIRROR}/pth/pth-${PV}.tar.gz \
file://m4-warning.patch;patch=1 \
+ file://ldflags.patch;patch=1 \
"
PARALLEL_MAKE=""