mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
For ANGLE, point the EGL include dir to our copied files on
the repo
This commit is contained in:
parent
7f1c1db651
commit
328d5bf648
1 changed files with 7 additions and 1 deletions
|
@ -104,10 +104,16 @@ if [ "$HAVE_FLOATSOFTFP" = "yes" ]; then
|
|||
add_define MAKEFILE FLOATSOFTFP_CFLAGS -mfloat-abi=softfp
|
||||
fi
|
||||
|
||||
check_header EGL EGL/egl.h EGL/eglext.h
|
||||
|
||||
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"
|
||||
|
|
Loading…
Add table
Reference in a new issue