diff options
author | Luo Jinghua <sunmoon1997@gmail.com> | 2011-06-13 10:42:14 +0800 |
---|---|---|
committer | Luo Jinghua <sunmoon1997@gmail.com> | 2011-06-13 10:42:14 +0800 |
commit | 40555bf99d5ccfa1bebe4e4231ab3d9a86a77cd4 (patch) | |
tree | d6c0bc83a9e87c4a04d5c8f46cb04ba71b1b3ddd | |
parent | eeb223e26320357800f8ab20801b9883a4c9478e (diff) |
configure: respect the other_{egl,gles}_LIBS
-rw-r--r-- | configure.ac | 4 |
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 |