summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuo Jinghua <sunmoon1997@gmail.com>2011-06-13 10:42:14 +0800
committerLuo Jinghua <sunmoon1997@gmail.com>2011-06-13 10:42:14 +0800
commit40555bf99d5ccfa1bebe4e4231ab3d9a86a77cd4 (patch)
treed6c0bc83a9e87c4a04d5c8f46cb04ba71b1b3ddd
parenteeb223e26320357800f8ab20801b9883a4c9478e (diff)
configure: respect the other_{egl,gles}_LIBS
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 368effa..bc45074 100644
--- a/configure.ac
+++ b/configure.ac
@@ -211,13 +211,13 @@ if test "x$enable_opengles" != "xno"; then
save_LIBS="$LIBS"
LIBS="$other_egl_LIBS $LIBS"
for egl_lib in EGL egl13 egl12 egl11 egl; do
- AC_CHECK_LIB($egl_lib, eglGetError, EGL_LIBS="-l$egl_lib")
+ AC_CHECK_LIB($egl_lib, eglGetError, EGL_LIBS="-l$egl_lib $other_egl_LIBS")
done
LIBS="$other_gles_LIBS $EGL_LIBS $LIBS"
for gles1_lib in GLES_CM GLESv1_CM GLESv1; do
AC_CHECK_LIB($gles1_lib, glGenTextures,
- [GLES_LIBS="-l$gles1_lib"
+ [GLES_LIBS="-l$gles1_lib $other_gles_LIBS"
have_opengles=yes])
done