Revert "Python: replace python-config with our ow script to fix cross builds"

This reverts commit 3ceb1fe8e702caaf0c96fb2393b82a71cfa7f908.
This commit is contained in:
Stephan Raue 2015-01-10 17:55:12 +01:00
parent 57feef4a9c
commit a87c08a953

View File

@ -82,15 +82,6 @@ makeinstall_host() {
install
cp Parser/pgen $ROOT/$TOOLCHAIN/bin
# replace python-config to make sure python uses $SYSROOT_PREFIX
mkdir -p $ROOT/$TOOLCHAIN/bin
rm -rf $ROOT/$TOOLCHAIN/bin/python*-config
sed -e "s:%PREFIX%:$SYSROOT_PREFIX/usr:g" -e "s:%CFLAGS%:$TARGET_CFLAGS:g" \
$PKG_DIR/scripts/python-config > $ROOT/$TOOLCHAIN/bin/python2.7-config
chmod +x $ROOT/$TOOLCHAIN/bin/python2.7-config
ln -s python2.7-config $ROOT/$TOOLCHAIN/bin/python-config
}
pre_configure_target() {