path: root/meta/recipes-core/ncurses
diff options
authorChristopher Larson <>2012-01-10 13:51:18 -0600
committerRichard Purdie <>2012-01-17 14:52:57 +0000
commitdd05e06b89906002f68d616a6326c962e725bc54 (patch)
tree1def55c4f2e9df0b0a27d6bbc6e4b4ca5d16e652 /meta/recipes-core/ncurses
parent8c457ea44dc75a01826b070c8b41d1ca5e712171 (diff)
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. Signed-off-by: Christopher Larson <>
Diffstat (limited to 'meta/recipes-core/ncurses')
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/ncurses/ b/meta/recipes-core/ncurses/
index 8321d7b021..43303b7196 100644
--- a/meta/recipes-core/ncurses/
+++ b/meta/recipes-core/ncurses/
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://ncurses/base/version.c;beginline=1;endline=27;md5=cbc
SECTION = "libs"
DEPENDS = "ncurses-native"
DEPENDS_virtclass-native = ""
-INC_PR = "r3"
+INC_PR = "r4"
inherit autotools binconfig multilib_header
@@ -26,8 +26,8 @@ ENABLE_WIDEC ?= "true"
# builds.
-# tic from the -native build cannot run without setting this explicitly
-BUILD_LDFLAGS_virtclass-native += "-Wl,-rpath,${base_libdir}"
+# natives don't generally look in base_libdir
+base_libdir_virtclass-native = "${libdir}"
# Helper function for do_configure to allow multiple configurations
# $1 the directory to run configure in