mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 14:16:40 +00:00
xbmc-pvr: add (ugly) hack to detect the python version if we compile between arch's
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
d3b7125d3b
commit
c596fcd4f5
@ -85,6 +85,12 @@ fi
|
|||||||
# this fixes problems with faac implementation of ffmpeg
|
# this fixes problems with faac implementation of ffmpeg
|
||||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-Wl,--as-needed||"`
|
LDFLAGS=`echo $LDFLAGS | sed -e "s|-Wl,--as-needed||"`
|
||||||
|
|
||||||
|
export PYTHON_VERSION="2.6"
|
||||||
|
export PYTHON_CPPFLAGS="-I$SYSROOT_PREFIX/usr/include/python$PYTHON_VERSION"
|
||||||
|
export PYTHON_LDFLAGS="-L$SYSROOT_PREFIX/usr/lib/python$PYTHON_VERSION -lpython$PYTHON_VERSION"
|
||||||
|
export PYTHON_SITE_PKG="$SYSROOT_PREFIX/usr/lib/python$PYTHON_VERSION/site-packages"
|
||||||
|
export ac_python_version="$PYTHON_VERSION"
|
||||||
|
|
||||||
# this fixes the "stretching picture bug"
|
# this fixes the "stretching picture bug"
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-ftree-loop-distribution||"`
|
CFLAGS=`echo $CFLAGS | sed -e "s|-ftree-loop-distribution||"`
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-floop-interchange||"`
|
CFLAGS=`echo $CFLAGS | sed -e "s|-floop-interchange||"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user