Python: check toolchain libdir and includedir for libs and headers

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-06-19 16:24:48 +02:00
parent a515edaace
commit 4ee1cdfccb

View File

@ -39,8 +39,12 @@ LDFLAGS="$LDFLAGS -lexpat" \
--with-threads \
--enable-unicode=ucs4 \
make
make install
make PYTHON_MODULES_INCLUDE=$ROOT/$TOOLCHAIN/include \
PYTHON_MODULES_LIB="$ROOT/$TOOLCHAIN/lib"
make PYTHON_MODULES_INCLUDE=$ROOT/$TOOLCHAIN/include \
PYTHON_MODULES_LIB="$ROOT/$TOOLCHAIN/lib" \
install
# symlink python binary to python2 (needed for Mesa)
ln -sf python $ROOT/$TOOLCHAIN/bin/python2