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.ac

    r4149 r4192  
    158158dnl 
    159159case $target in 
     160    *android*) 
     161        AC_DEFINE(PJ_ANDROID,1) 
     162        ;; 
    160163    *mingw* | *cygw* | *win32* | *w32* ) 
    161164        AC_DEFINE(PJ_WIN32,1) 
     
    570573else 
    571574 case $target in 
     575  *android*) 
     576        LIBS="$LIBS -lOpenSLES" 
     577        AC_MSG_RESULT([Checking sound device backend... OpenSL ES]) 
     578        ;; 
    572579  arm-apple-darwin*) 
    573580        LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" 
     
    635642 
    636643case $target in 
     644 *android*) 
     645        LIBS="$LIBS -llog -lgcc" 
     646        ;; 
    637647 arm-apple-darwin*) 
    638648        LIBS="$LIBS -framework UIKit" 
Note: See TracChangeset for help on using the changeset viewer.