ffmpeg编译时指定第三方库位置

--extra-cflags=-I/xxxx/include
第三方库不在默认的include路径,则需要指定--extra-cflags=-I/xxxx/include
 
--extra-ldflags=-L/usr/local/x264-x86/lib
如下指定多个:
./configure --prefix=/usr/local/ffmpeg --enable-libmp3lame --enable-libvorbis --enable-shared --extra-cflags="-I/usr/local/lame/include -I/usr/local/libvorbis/include -I/usr/local/libogg/include" --extra-ldflags="-L/usr/local/lame/lib -L/usr/local/libvorbis/lib -L/usr/local/libogg/lib"
posted @ 2012-06-16 21:08  jinghao666  阅读(5943)  评论(0编辑  收藏  举报