summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xaconfigure2
-rw-r--r--aconfigure.ac2
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