For ANGLE, point the EGL include dir to our copied files on

the repo
This commit is contained in:
twinaphex 2019-12-07 10:52:14 +01:00
parent 7f1c1db651
commit 328d5bf648

View File

@ -104,10 +104,16 @@ if [ "$HAVE_FLOATSOFTFP" = "yes" ]; then
add_define MAKEFILE FLOATSOFTFP_CFLAGS -mfloat-abi=softfp
fi
if [ "$HAVE_ANGLE" = 'yes' ]; then
eval "HAVE_EGL=\"yes\""
add_dirs INCLUDE ./gfx/include/ANGLE
else
check_header EGL EGL/egl.h EGL/eglext.h
# some systems have EGL libs, but no pkgconfig
# https://github.com/linux-sunxi/sunxi-mali/pull/8
check_val '' EGL "-l${VC_PREFIX}EGL $EXTRA_GL_LIBS" '' "${VC_PREFIX}egl" '' '' true
fi
if [ "$HAVE_EGL" = 'yes' ]; then
EGL_LIBS="$EGL_LIBS $EXTRA_GL_LIBS"