0001-change-order-of-detecting-libegl-and-libgles2.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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. This actually helps building it on rpi/userland
  6. where libEGL depends on few functions from libGLESv2
  7. see
  8. https://www.raspberrypi.org/forums/viewtopic.php?t=7090
  9. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  10. ---
  11. configure.ac | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. diff --git a/configure.ac b/configure.ac
  14. index b9e4240..1ca0297 100644
  15. --- a/configure.ac
  16. +++ b/configure.ac
  17. @@ -951,8 +951,8 @@ if test "$use_gles" = "yes"; then
  18. AC_MSG_RESULT(== WARNING: OpenGLES support is assumed.)
  19. LIBS="$LIBS -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm -lmmal -lmmal_core -lmmal_util -lvcsm"
  20. else
  21. - AC_CHECK_LIB([EGL], [main],, AC_MSG_ERROR($missing_library))
  22. AC_CHECK_LIB([GLESv2],[main],, AC_MSG_ERROR($missing_library))
  23. + AC_CHECK_LIB([EGL], [main],, AC_MSG_ERROR($missing_library))
  24. fi
  25. fi
  26. else
  27. --
  28. 1.9.1