]> code.ossystems Code Review - openembedded-core.git/commit
ncurses-native: install to libdir, not base_libdir
authorChristopher Larson <chris_larson@mentor.com>
Tue, 10 Jan 2012 19:51:18 +0000 (13:51 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Jan 2012 14:52:57 +0000 (14:52 +0000)
commitdd05e06b89906002f68d616a6326c962e725bc54
tree1def55c4f2e9df0b0a27d6bbc6e4b4ca5d16e652
parent8c457ea44dc75a01826b070c8b41d1ca5e712171
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 <chris_larson@mentor.com>
meta/recipes-core/ncurses/ncurses.inc