summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2012-01-10 13:51:18 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-17 14:53:14 +0000
commit4807e0b3aeea3445edd3c46c5da6538064c20e0e (patch)
tree18e330381dd33fe5f7c58a02612a705519e41ef2 /meta
parentb5ad3773afa99580f11292bcc730d355cae2e39a (diff)
downloadpoky-4807e0b3aeea3445edd3c46c5da6538064c20e0e.tar.gz
ncurses-native: install to libdir, not base_libdir
For target, both base_libdir and libdir in sysroot can be used, as we pass --sysroot to the toolchain. For native, we don't do this, and we also only add -L<sysroot>/${libdir}, not -L<sysroot>/${base_libdir}, resulting in other native recipes (like readline-native) failing to find the ncurses libraries. readline-native only built successfully on hosts where it could fall back to their ncurses/termcap rather than the one in the sysroot. (From OE-Core rev: dd05e06b89906002f68d616a6326c962e725bc54) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/ncurses/ncurses.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 8321d7b021..43303b7196 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://ncurses/base/version.c;beginline=1;endline=27;md5=cbc
6SECTION = "libs" 6SECTION = "libs"
7DEPENDS = "ncurses-native" 7DEPENDS = "ncurses-native"
8DEPENDS_virtclass-native = "" 8DEPENDS_virtclass-native = ""
9INC_PR = "r3" 9INC_PR = "r4"
10 10
11inherit autotools binconfig multilib_header 11inherit autotools binconfig multilib_header
12 12
@@ -26,8 +26,8 @@ ENABLE_WIDEC ?= "true"
26# builds. 26# builds.
27BUILD_CPPFLAGS += "-D_GNU_SOURCE" 27BUILD_CPPFLAGS += "-D_GNU_SOURCE"
28 28
29# tic from the -native build cannot run without setting this explicitly 29# natives don't generally look in base_libdir
30BUILD_LDFLAGS_virtclass-native += "-Wl,-rpath,${base_libdir}" 30base_libdir_virtclass-native = "${libdir}"
31 31
32# Helper function for do_configure to allow multiple configurations 32# Helper function for do_configure to allow multiple configurations
33# $1 the directory to run configure in 33# $1 the directory to run configure in