[FFmpeg-user] how to build ffmpeg into one static program without any dependent dynamic library

qw applemax82 at 163.com
Thu Jul 5 16:42:56 EEST 2018


It's inconvenient to use ffmpeg with dependent dynamic libraries. Therefore, I want static ffmpeg instead.




At 2018-07-05 18:56:31, "Carl Eugen Hoyos" <ceffmpeg at gmail.com> wrote:
>2018-07-05 11:21 GMT+02:00, qw <applemax82 at 163.com>:
>> Hi Carl Eugen,
>> Thanks for your help. I use the following command to build static ffmpeg
>> without any dependent dynamic library:
>> ./configure --disable-ffplay \ --extra-libs='-static -L/usr/lib'
>> --extra-cflags='--static' \ --enable-version3 --enable-asm --enable-x86asm
>> --enable-avfilter \ --enable-static --disable-shared --enable-gpl
>> --enable-nonfree --prefix=/usr/local/ \ --enable-stripping
>Did you read my email?
>Iirc, I asked you why you need static linking and I suggested you
>remove some options because they make no sense.
>Please do not top-post here, Carl Eugen
>ffmpeg-user mailing list
>ffmpeg-user at ffmpeg.org
>To unsubscribe, visit link above, or email
>ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list