python: distutils per default adds -L$LIBDIR when linking binary extensions, thats bad

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-02-14 16:13:47 +01:00
parent ecbf49bcb9
commit 83805eceb1

View File

@ -83,3 +83,6 @@ make -j1 CC="$TARGET_CC" \
PYTHON_MODULES_LIB="$TARGET_LIBDIR" \
install
# python distutils per default adds -L$LIBDIR when linking binary extensions
sed -e "s|^LIBDIR=.*|LIBDIR= $SYSROOT_PREFIX/usr/lib|" \
-i $SYSROOT_PREFIX/usr/lib/python*/config/Makefile