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

Chris Larson clarson at kergoth.com
Mon Jan 16 21:27:42 UTC 2012


On Mon, Jan 16, 2012 at 10:45 AM, Saul Wold <sgw at linux.intel.com> wrote:
> On 01/16/2012 07:32 AM, Chris Larson wrote:
>>
>> 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.
>
>
> So, Chris, are you going to implement this and do we drop the ncurses patch
> for now?

Enrico sent his general change in a patch series already. Someone will
need to make the call on the preferred long term solution.
-- 
Christopher Larson




More information about the Openembedded-core mailing list