Changeset 5034 for pjproject/trunk


Ignore:
Timestamp:
Mar 27, 2015 2:31:49 AM (10 years ago)
Author:
ming
Message:

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

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r5027 r5034  
    61696169 
    61706170        SAVED_LIBS="$LIBS" 
    6171         LIBS="-lGLESv2 -lEGL -landroid" 
     6171        LIBS="-lGLESv2 -lEGL -landroid -lgcc -lc" 
    61726172        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    61736173/* end confdefs.h.  */ 
  • pjproject/trunk/aconfigure.ac

    r5027 r5034  
    713713        AC_SUBST(ac_android_cflags) 
    714714        SAVED_LIBS="$LIBS" 
    715         LIBS="-lGLESv2 -lEGL -landroid" 
     715        LIBS="-lGLESv2 -lEGL -landroid -lgcc -lc" 
    716716        AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [])],[ac_pjmedia_video_has_android=yes],[ac_pjmedia_video_has_android=no]) 
    717717        LIBS="$SAVED_LIBS" 
Note: See TracChangeset for help on using the changeset viewer.