ncurses: build with shared host libs

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-06-24 09:20:12 +02:00
parent 1fc5ab2638
commit b2fb6913ec
2 changed files with 5 additions and 3 deletions

View File

@ -27,12 +27,14 @@ CWD=`pwd`
setup_toolchain host
cd $PKG_BUILD/ncurses-host
./configure
./configure --prefix=$ROOT/$TOOLCHAIN \
--with-shared \
make -C include
make -C progs tic
cp progs/tic $ROOT/$TOOLCHAIN/bin
cp lib/*.so* $ROOT/$TOOLCHAIN/lib
cd "$CWD"

View File

@ -35,8 +35,8 @@ case $1 in
build)
deps="gcc g++ sed patch touch tar bzip2 gzip lzma perl cp gawk makeinfo gettext autopoint gperf autoconf automake m4 cvs zip unzip mkfontscale libtool diff xsltproc msgfmt"
deps_pkg="gcc g++ sed patch fileutils tar bzip2 gzip lzma perl coreutils gawk texinfo gettext gettext-devel gperf autoconf automake m4 cvs zip unzip xutils libtool diff xsltproc gettext"
files="/usr/lib/libc.a /usr/include/stdio.h /usr/include/ncurses.h"
files_pkg="glibc-static libc6-dev libncurses5-dev"
files="/usr/include/stdio.h /usr/include/ncurses.h"
files_pkg="libc6-dev libncurses5-dev"
;;
qemu)
if [ ! `which qemu` ]; then