libxcb: add hack for getting right pythondir and xcbincludedir, add Python as build dependency

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-20 08:11:56 +02:00
parent 31d44fea39
commit fbbb080833

View File

@ -3,10 +3,16 @@
. config/options
$SCRIPTS/build toolchain
$SCRIPTS/build Python
$SCRIPTS/build xcb-proto
$SCRIPTS/build libpthread-stubs
$SCRIPTS/build libXau
. config/options.python
PKG_CONFIG="$PKG_CONFIG --define-variable=pythondir=$PYTHON_TOOLCHAIN_PATH"
PKG_CONFIG="$PKG_CONFIG --define-variable=xcbincludedir=$SYSROOT_PREFIX/usr/share/xcb"
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \