summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/newt/libnewt_0.52.14.bb
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2012-06-08 11:43:47 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-11 13:49:52 +0100
commit616fab3981c3497559bd248ef18e8a26e1f3a2e0 (patch)
tree09619300fe6103068f88412dfd06536bfe96ea26 /meta/recipes-extended/newt/libnewt_0.52.14.bb
parentd411e7738de9b005003fdf73d9b5605874886a74 (diff)
downloadpoky-616fab3981c3497559bd248ef18e8a26e1f3a2e0.tar.gz
libnewt: Fix cross link using autoconf detected AR
If building on 32bit host and creating 64bit libraries, the target package builds should not invoke the 32bit hosts's ar. Specifically you will get an error message like: x86_64-linux-gcc -m64 --sysroot=/opt/qemux86-64/tmp/sysroots/qemux86-64 -g -o test test.o libnewt.a -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -lslang libnewt.a: could not read symbols: Archive has no index; run ranlib to add one collect2: error: ld returned 1 exit status (From OE-Core rev: a02878d05e6b57f2455228785ea5f213a62ed976) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/newt/libnewt_0.52.14.bb')
-rw-r--r--meta/recipes-extended/newt/libnewt_0.52.14.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-extended/newt/libnewt_0.52.14.bb b/meta/recipes-extended/newt/libnewt_0.52.14.bb
index 8a89eb7678..0208695699 100644
--- a/meta/recipes-extended/newt/libnewt_0.52.14.bb
+++ b/meta/recipes-extended/newt/libnewt_0.52.14.bb
@@ -17,11 +17,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
17# slang needs to be >= 2.2 17# slang needs to be >= 2.2
18DEPENDS = "slang popt" 18DEPENDS = "slang popt"
19 19
20PR = "r0" 20PR = "r1"
21 21
22SRC_URI = "https://fedorahosted.org/releases/n/e/newt/newt-${PV}.tar.gz \ 22SRC_URI = "https://fedorahosted.org/releases/n/e/newt/newt-${PV}.tar.gz \
23 file://remove_slang_include.patch \ 23 file://remove_slang_include.patch \
24 file://fix_SHAREDDIR.patch" 24 file://fix_SHAREDDIR.patch \
25 file://cross_ar.patch"
25 26
26SRC_URI[md5sum] = "eb78c6bb658b92ec7198908b5b8d0e37" 27SRC_URI[md5sum] = "eb78c6bb658b92ec7198908b5b8d0e37"
27SRC_URI[sha256sum] = "f70f4f58baa60388ddf2e39249ffb00898fb40f2b2767e42e2ab51fe4b40978e" 28SRC_URI[sha256sum] = "f70f4f58baa60388ddf2e39249ffb00898fb40f2b2767e42e2ab51fe4b40978e"