[oe] [PATCH v2] ncurses-5.7 : fix sdk build + add libtermcap link

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Sun Aug 29 13:33:28 UTC 2010


Eric Bénard <eric at eukrea.com> writes:

> -        'narrowc --with-ticlib' \
> -        'widec   --enable-widec --without-progs'; do
> +        'narrowc  --with-ticlib' \
> +        'widec    --with-ticlib --enable-widec --without-progs'; do

can you place this in a separate patch please?


> +	cd ${D}${libdir}
> +	ln -sf libncurses.so libtermcap.so
> +	ln -sf libncurses.a libtermcap.a

This part is wrong; libtermcap functionality is provided by libtinfo and
does not need whole libncurses.

A linker script libtermcap.so with

| INPUT(-ltinfo)

might be a better solution for .so.


> +	ln -sf libncurses.so.5 libtermcap.so.5

This is not needed; DL_NEEDED will be libtinfo.so.X both if you create a
symlink or use the linkerscript.  There is nothing with a libtermcap.so.5
SONAME either.


> -PACKAGES = " \
> -  ncurses-dbg \
> -  ncurses-dev \
> -  ncurses-doc \
> -  ncurses-tools \
> -  ncurses \
> -  ncurses-static \
> -  ncurses-terminfo \
> +PACKAGES += " \
> +  ${PN}-tools \
> +  ${PN}-terminfo \
>  "

please put this into a separate patch.


Enrico




More information about the Openembedded-devel mailing list