From 51e1fcf85d019d80cb0b827ce7380a2c7ee9027f Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Fri, 27 Mar 2015 02:31:49 +0000 Subject: Re #1790: Fixed failed Android OpenGL detection if aconfigure is called with --use-ndk-cflags git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5034 74dad513-b988-da41-8d7b-12977e46ad98 --- aconfigure | 2 +- aconfigure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aconfigure b/aconfigure index c8c2e559..084ab0a6 100755 --- a/aconfigure +++ b/aconfigure @@ -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. */ diff --git a/aconfigure.ac b/aconfigure.ac index 146ac49a..67cf24f1 100644 --- a/aconfigure.ac +++ b/aconfigure.ac @@ -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 -- cgit v1.2.3