diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2016-09-21 22:46:38 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-22 11:13:23 +0100 |
commit | 2a0f4e713a3a68f8973290531800fe5dd3d1792a (patch) | |
tree | 5bd39d72fc8f0fd5c1e68eefa2c639a2303d1269 /meta/recipes-extended/newt/libnewt_0.52.19.bb | |
parent | 3c1807e2d85b2b6147c113645af85fc3d73c9928 (diff) | |
download | poky-2a0f4e713a3a68f8973290531800fe5dd3d1792a.tar.gz |
libnewt: link whiptail properly with libnewt
Configuration failed to detect gold as GNU linker. It was searching for
'GNU ld' but gold returns 'GNU gold (GNU Binutils 2.27.0.20160806) 1.12' which
does not match. When not linking by GNU linker Makefile did some magic link
target alignment:
ifneq ($(GNU_LD),)
SHLIBFLAGS= -Wl,--version-script,newt.0.52.ver -Wl,-soname,$(LIBNEWTSONAME)
else
SHLIBFLAGS=
endif
which caused:
| WARNING: libnewt-0.52.19-r0 do_package_qa: QA Issue: /usr/bin/whiptail contained in package whiptail requires libnewt.so, but no providers found in RDEPENDS_whiptail? [file-rdeps]
(From OE-Core rev: 3b806c927504e682ddd159c890a5f243e273b23e)
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/newt/libnewt_0.52.19.bb')
-rw-r--r-- | meta/recipes-extended/newt/libnewt_0.52.19.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/newt/libnewt_0.52.19.bb b/meta/recipes-extended/newt/libnewt_0.52.19.bb index 22bdaf5ab1..a26ce1fbe7 100644 --- a/meta/recipes-extended/newt/libnewt_0.52.19.bb +++ b/meta/recipes-extended/newt/libnewt_0.52.19.bb | |||
@@ -22,6 +22,7 @@ SRC_URI = "https://fedorahosted.org/releases/n/e/newt/newt-${PV}.tar.gz \ | |||
22 | file://cross_ar.patch \ | 22 | file://cross_ar.patch \ |
23 | file://Makefile.in-Add-tinfo-library-to-the-linking-librari.patch \ | 23 | file://Makefile.in-Add-tinfo-library-to-the-linking-librari.patch \ |
24 | file://pie-flags.patch \ | 24 | file://pie-flags.patch \ |
25 | file://0001-detect-gold-as-GNU-linker-too.patch \ | ||
25 | " | 26 | " |
26 | 27 | ||
27 | SRC_URI[md5sum] = "e4aa0f7943edd39c52481a87f68f412a" | 28 | SRC_URI[md5sum] = "e4aa0f7943edd39c52481a87f68f412a" |