[OE-core] [PATCH] ncurses-native: install to libdir, not base_libdir

Chris Larson clarson at kergoth.com
Mon Jan 16 15:32:02 UTC 2012


On Thu, Jan 12, 2012 at 7:25 AM, Enrico Scholz
<enrico.scholz at sigma-chemnitz.de> wrote:
> Christopher Larson <kergoth-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
> writes:
>
>> --- a/meta/recipes-core/ncurses/ncurses.inc
>> +++ b/meta/recipes-core/ncurses/ncurses.inc
>> ...
>> +# natives don't generally look in base_libdir
>> +base_libdir_virtclass-native = "${libdir}"
>
> I do not think that this should be done per recipe (afais, at least
> libusb is affected by the same issue).
>
> Adding '-L<baselibdir>' and the '-Wl,-rpath-link' + '-Wl,-rpath' options
> to BUILD_LDFLAGS would be a more general solution.

Alternatively, could simplify the layout of the native sysroot and
adjust things in the native class. It could make a certain amount of
sense, as it makes more sense for our structure for native to match
the host than it does the target.
-- 
Christopher Larson




More information about the Openembedded-core mailing list