]> code.ossystems Code Review - openembedded-core.git/commit
libnewt: link whiptail properly with libnewt
authorAndreas Müller <schnitzeltony@googlemail.com>
Wed, 21 Sep 2016 20:46:38 +0000 (22:46 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Sep 2016 10:08:22 +0000 (11:08 +0100)
commit3b806c927504e682ddd159c890a5f243e273b23e
treee26638d6ee6079fd4f31aea536bb93f8c653db1c
parent6edd0b8dccc6e1e21f2ef87013e2e0a40d19b0d6
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]

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/newt/files/0001-detect-gold-as-GNU-linker-too.patch [new file with mode: 0644]
meta/recipes-extended/newt/libnewt_0.52.19.bb