Skip to content

Commit

Permalink
(ANGLE) Add MINGW32/MINGW64 detection
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Jan 5, 2020
1 parent e23cd0e commit 0029598
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion qb/config.libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,21 @@ fi
if [ "$HAVE_ANGLE" = 'yes' ]; then
eval "HAVE_EGL=\"yes\""
add_dirs INCLUDE ./gfx/include/ANGLE
add_dirs LIBRARY ./angle-x64
add_opt OPENGL no
add_opt OPENGLES yes
add_define MAKEFILE OPENGLES_LIBS "-lGLESv2"

case "$(uname -s)" in
MINGW32*)
add_dirs LIBRARY ./pkg/windows/x86
;;
MINGW64*)
add_dirs LIBRARY ./pkg/windows/x86_64
;;
*)
;;
esac

else
check_header EGL EGL/egl.h EGL/eglext.h
# some systems have EGL libs, but no pkgconfig
Expand Down

0 comments on commit 0029598

Please sign in to comment.