Re #1790: Fixed failed Android OpenGL detection if aconfigure is called with --use-ndk-cflags

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5034 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Sauw Ming 2015-03-27 02:31:49 +00:00
parent eb7f722f34
commit d39cc28701
2 changed files with 2 additions and 2 deletions

View File

@ -6168,7 +6168,7 @@ else
SAVED_LIBS="$LIBS"
LIBS="-lGLESv2 -lEGL -landroid"
LIBS="-lGLESv2 -lEGL -landroid -lgcc -lc"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

View File

@ -712,7 +712,7 @@ else
AC_SUBST(ac_pjmedia_video_has_android)
AC_SUBST(ac_android_cflags)
SAVED_LIBS="$LIBS"
LIBS="-lGLESv2 -lEGL -landroid"
LIBS="-lGLESv2 -lEGL -landroid -lgcc -lc"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [])],[ac_pjmedia_video_has_android=yes],[ac_pjmedia_video_has_android=no])
LIBS="$SAVED_LIBS"
if test "$ac_pjmedia_video_has_android" = "yes"; then