[oe] STAGING_LIBDIR_NATIVE needed in bitbake.conf

Marcin Juszkiewicz openembedded at hrw.one.pl
Tue Aug 7 06:22:01 UTC 2007


Dnia poniedziałek, 6 sierpnia 2007, Mike (mwester) napisał:
> In order to fix an ncurses build bug
> (http://bugs.openembedded.org/show_bug.cgi?id=2554), we need to set
> LD_LIBRARY_PATH in the ncurses bb file.
>
> I've tested, and the following resolves the problem with ncurses not
> installing:
>
>     export LD_LIBRARY_PATH = "${STAGING_BINDIR_NATIVE}/../lib"
>
> That's not too elegant, so I'd like to create "STAGING_LIBDIR_NATIVE"
> in the bitbake.conf file instead, which will clean up the recipe and
> make more obvious what it is that we're doing.

STAGING_LIBDIR_NATIVE sounds ok for me

> Anyone have any heartburn with this approach to resolving this problem?

It should be done in classes/native.bbclass not in ncurses-native. The 
problem is wider as there are few distributions which have host versions 
of stuff other then OE use as native. As a result building of native 
stuff which depend on native libraries can fail - when you will set 
LD_LIBRARY_PATH in native.bbclass then it should work.

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

              whats mean ubuntu?
              it's african word for "can't configure debian"






More information about the Openembedded-devel mailing list