mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
mesa : make egles2 build depend on OPENGLES distro flag.
when building qt with X11 support, some qpa plugins for X11 still use gles dependencies.
This commit is contained in:
parent
f492bf1ee9
commit
8653154b1a
@ -55,6 +55,12 @@ for drv in $GRAPHIC_DRIVERS; do
|
||||
[ "$drv" = "vmware" ] && XA_CONFIG="--enable-xa"
|
||||
done
|
||||
|
||||
if [ "$OPENGLES_SUPPORT" = "yes" ]; then
|
||||
MESA_GLES="--enable-gles2"
|
||||
else
|
||||
MESA_GLES="--disable-gles2"
|
||||
fi
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC \
|
||||
CXX_FOR_BUILD=$HOST_CXX \
|
||||
CFLAGS_FOR_BUILD= \
|
||||
@ -70,7 +76,7 @@ PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC \
|
||||
--disable-selinux \
|
||||
--enable-opengl \
|
||||
--disable-gles1 \
|
||||
--disable-gles2 \
|
||||
$MESA_GLES \
|
||||
--enable-dri \
|
||||
--enable-dri3 \
|
||||
--enable-glx \
|
||||
|
Loading…
x
Reference in New Issue
Block a user