Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | From 21524598110e7a55113205dda4bc1a6d5987111c Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Tue, 9 May 2017 06:41:33 +0000 |
| 4 | Subject: [PATCH] change order of detecting libegl and libgles2 |
| 5 | |
| 6 | This actually helps building it on rpi/userland |
| 7 | where libEGL depends on few functions from libGLESv2 |
| 8 | see |
| 9 | https://www.raspberrypi.org/forums/viewtopic.php?t=7090 |
| 10 | |
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 12 | --- |
| 13 | configure.ac | 2 +- |
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/configure.ac b/configure.ac |
| 17 | index b9e4240..1ca0297 100644 |
| 18 | --- a/configure.ac |
| 19 | +++ b/configure.ac |
| 20 | @@ -951,8 +951,8 @@ if test "$use_gles" = "yes"; then |
| 21 | AC_MSG_RESULT(== WARNING: OpenGLES support is assumed.) |
| 22 | LIBS="$LIBS -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm -lmmal -lmmal_core -lmmal_util -lvcsm" |
| 23 | else |
| 24 | - AC_CHECK_LIB([EGL], [main],, AC_MSG_ERROR($missing_library)) |
| 25 | AC_CHECK_LIB([GLESv2],[main],, AC_MSG_ERROR($missing_library)) |
| 26 | + AC_CHECK_LIB([EGL], [main],, AC_MSG_ERROR($missing_library)) |
| 27 | fi |
| 28 | fi |
| 29 | else |
| 30 | -- |
| 31 | 1.9.1 |
| 32 | |