ndkでビルドするときのオプションメモ
$export ANDROID_ROOT=android-ndk-r4b/build $export PATH=android-ndk-r4b/build/prebuilt/darwin-x86/arm-eabi-4.4.0/bin $./configure --host=arm-eabi CPP=arm-eabi-cpp CC=arm-eabi-gcc CFLAGS="-mandroid --sysroot=$ANDROID_ROOT/platforms/android-3/arch-arm" CPPFLAGS="-I$ANDROID_ROOT/platforms/android-3/arch-arm/usr/include"
参考:
http://blog.kmckk.com/archives/2918551.html
http://warpedtimes.wordpress.com/2010/02/03/building-open-source-libraries-with-android-ndk/