Ignore:
Timestamp:
Jul 3, 2012 7:46:49 AM (12 years ago)
Author:
ming
Message:

Re #1516: Build system for Android
How to use:

  • export ANDROID_NDK=/path_to_android_ndk_dir
  • Run ./configure-android
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/android/aconfigure

    r4149 r4192  
    46754675 
    46764676case $target in 
     4677    *android*) 
     4678        $as_echo "#define PJ_ANDROID 1" >>confdefs.h 
     4679 
     4680        ;; 
    46774681    *mingw* | *cygw* | *win32* | *w32* ) 
    46784682        $as_echo "#define PJ_WIN32 1" >>confdefs.h 
     
    56535657else 
    56545658 case $target in 
     5659  *android*) 
     5660        LIBS="$LIBS -lOpenSLES" 
     5661        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... OpenSL ES" >&5 
     5662$as_echo "Checking sound device backend... OpenSL ES" >&6; } 
     5663        ;; 
    56555664  arm-apple-darwin*) 
    56565665        LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" 
     
    57325741 
    57335742case $target in 
     5743 *android*) 
     5744        LIBS="$LIBS -llog -lgcc" 
     5745        ;; 
    57345746 arm-apple-darwin*) 
    57355747        LIBS="$LIBS -framework UIKit" 
Note: See TracChangeset for help on using the changeset viewer.