Fix pcsx2 libretro core.

This commit is contained in:
fewtarius 2022-09-13 09:00:13 -04:00
parent 8ca74a8fb3
commit df41cf1fb0
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -49,9 +49,12 @@ pre_configure_target() {
PKG_CONFIGURE_OPTS_TARGET+=" --enable-opengl"
fi
if [ "${OPENGLES_SUPPORT}" = yes ]; then
if [ "${OPENGLES_SUPPORT}" = yes ] && \
[ ! "${ARCH}" = "x86_64" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
PKG_CONFIGURE_OPTS_TARGET+=" --enable-opengles --enable-opengles3 --enable-opengles3_2 --enable-kms --disable-mali_fbdev"
else
PKG_CONFIGURE_OPTS_TARGET+=" --disable-opengles --disable-opengles3 --disable-opengles3_2 --disable-kms --disable-mali_fbdev"
fi
if [ "${VULKAN_SUPPORT}" = "yes" ]