mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
Revert "Python: replace python-config with our ow script to fix cross builds"
This reverts commit 3ceb1fe8e702caaf0c96fb2393b82a71cfa7f908.
This commit is contained in:
parent
57feef4a9c
commit
a87c08a953
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user