libvpx: fix installation

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-06-23 12:52:41 +02:00
parent 27f67375b4
commit b157a21487
2 changed files with 4 additions and 5 deletions

View File

@ -19,7 +19,7 @@ esac
export MAKEFLAGS=-j1
export LD="$CC"
cd $BUILD/$1*
cd $PKG_BUILD
./configure --target=$TGT \
--cpu=$TARGET_CPU \
--prefix=/usr \

View File

@ -2,11 +2,10 @@
. config/options
cd $BUILD/$1*
LIBVPX_SONAME=`ls -d libvpx.so*`
LIBVPX_SO=`ls -d $PKG_BUILD/libvpx.so*`
LIBVPX_SONAME=`basename $LIBVPX_SO`
mkdir -p $INSTALL/usr/lib
cp libvpx.so* $INSTALL/usr/lib
cp $PKG_BUILD/libvpx.so* $INSTALL/usr/lib
ln -sf $LIBVPX_SONAME $INSTALL/usr/lib/libvpx.so.0
ln -sf $LIBVPX_SONAME $INSTALL/usr/lib/libvpx.so.0.9