diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2016-01-18 15:11:07 -0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-20 17:07:15 +0000 |
| commit | aadae7bef0355b7affd8bfa2ce1b9d30f86a6c8c (patch) | |
| tree | 2e339bbd3bb101abba2670ebeed77aca2eaa29fb | |
| parent | 571289df7b2b59a3f00c267824931e3efaaabc3b (diff) | |
| download | poky-aadae7bef0355b7affd8bfa2ce1b9d30f86a6c8c.tar.gz | |
libnewt: Fix linking error due missing symbols
The NEWT library links with 'slang' which requires 'tinfo' for
successful linking, this adds the 'tinfo' to the linking libraries.
(From OE-Core rev: ffea660e794b8a6215ddb9a34bce00c461dc9170)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-extended/newt/files/Makefile.in-Add-tinfo-library-to-the-linking-librari.patch | 26 | ||||
| -rw-r--r-- | meta/recipes-extended/newt/libnewt_0.52.18.bb | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-extended/newt/files/Makefile.in-Add-tinfo-library-to-the-linking-librari.patch b/meta/recipes-extended/newt/files/Makefile.in-Add-tinfo-library-to-the-linking-librari.patch new file mode 100644 index 0000000000..bc55582fd9 --- /dev/null +++ b/meta/recipes-extended/newt/files/Makefile.in-Add-tinfo-library-to-the-linking-librari.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | From fad40cfc18a42946a9a9e440c3434cd6b847ff9d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
| 3 | Date: Mon, 18 Jan 2016 17:05:19 +0000 | ||
| 4 | Subject: [PATCH] Makefile.in: Add tinfo library to the linking libraries | ||
| 5 | Organization: O.S. Systems Software LTDA. | ||
| 6 | |||
| 7 | Upstream-Status: Pending | ||
| 8 | |||
| 9 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
| 10 | --- | ||
| 11 | Makefile.in | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/Makefile.in b/Makefile.in | ||
| 15 | index a85d00f..98b85f9 100644 | ||
| 16 | --- a/Makefile.in | ||
| 17 | +++ b/Makefile.in | ||
| 18 | @@ -1,4 +1,4 @@ | ||
| 19 | -LIBS = -lslang @LIBS@ | ||
| 20 | +LIBS = -lslang -ltinfo @LIBS@ | ||
| 21 | LIBTCL = @TCL_LIB_FLAG@ | ||
| 22 | |||
| 23 | CC = @CC@ | ||
| 24 | -- | ||
| 25 | 2.1.4 | ||
| 26 | |||
diff --git a/meta/recipes-extended/newt/libnewt_0.52.18.bb b/meta/recipes-extended/newt/libnewt_0.52.18.bb index 302e418a9d..293c1a8a5a 100644 --- a/meta/recipes-extended/newt/libnewt_0.52.18.bb +++ b/meta/recipes-extended/newt/libnewt_0.52.18.bb | |||
| @@ -21,6 +21,7 @@ SRC_URI = "https://fedorahosted.org/releases/n/e/newt/newt-${PV}.tar.gz \ | |||
| 21 | file://remove_slang_include.patch \ | 21 | file://remove_slang_include.patch \ |
| 22 | file://fix_SHAREDDIR.patch \ | 22 | file://fix_SHAREDDIR.patch \ |
| 23 | file://cross_ar.patch \ | 23 | file://cross_ar.patch \ |
| 24 | file://Makefile.in-Add-tinfo-library-to-the-linking-librari.patch \ | ||
| 24 | " | 25 | " |
| 25 | 26 | ||
| 26 | SRC_URI[md5sum] = "685721bee1a318570704b19dcf31d268" | 27 | SRC_URI[md5sum] = "685721bee1a318570704b19dcf31d268" |
