kodi: adapt to new python install path (PR11880)

Specify toolchain executable otherwise target binary is executed on host
which fails silently if called by cmake.
This commit is contained in:
MilhouseVH 2017-03-24 22:24:59 +00:00
parent af16e5a7cf
commit aacd3e8f5b

View File

@ -210,6 +210,7 @@ KODI_LIBDVD="$KODI_DVDCSS \
PKG_CMAKE_OPTS_TARGET="-DNATIVEPREFIX=$TOOLCHAIN \
-DWITH_TEXTUREPACKER=$TOOLCHAIN/bin/TexturePacker \
-DDEPENDS_PATH=$PKG_BUILD/depends \
-DPYTHON_EXECUTABLE=$TOOLCHAIN/bin/python2.7 \
-DPYTHON_INCLUDE_DIRS=$SYSROOT_PREFIX/usr/include/python2.7 \
-DGIT_VERSION=$PKG_VERSION \
-DENABLE_INTERNAL_FFMPEG=OFF \
@ -269,8 +270,6 @@ post_makeinstall_target() {
rm -rf $INSTALL/usr/share/kodi/addons/visualization.vortex
rm -rf $INSTALL/usr/share/xsessions
mv $INSTALL/usr/lib/python2.7/dist-packages $INSTALL/usr/lib/python2.7/site-packages
mkdir -p $INSTALL/usr/lib/kodi
cp $PKG_DIR/scripts/kodi-config $INSTALL/usr/lib/kodi
cp $PKG_DIR/scripts/kodi.sh $INSTALL/usr/lib/kodi