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:
parent
eb7f722f34
commit
d39cc28701
|
@ -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. */
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue