作者:流浪的牛仔2011Ting_883 | 来源:互联网 | 2023-10-11 17:44
http:blog.csdn.netu012917616articledetails40921833不废话,直接上.sh脚本:exportNDKhomexxxmy_software
http://blog.csdn.net/u012917616/article/details/40921833
不废话,直接上.sh脚本:
export NDK=/home/xxx/my_software/android-ndk-r10
export PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/
export PLATFORM=$NDK/platforms/android-14/arch-arm
export PREFIX=/home/xxx/x264
#export CC=$PREBUILT/linux-x86/bin/arm-linux-androideabi-gcc
./configure --prefix=$PREFIX
--enable-static
--enable-shared
--enable-pic
--disable-asm
--disable-cli
--enable-strip
--host=arm-linux
--cross-prefix=$PREBUILT/linux-x86/bin/arm-linux-androideabi-
android ndk编译x264开源(用于android的ffmpeg中进行软编码)