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

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Jul 5 13:56:31 EEST 2018


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


More information about the ffmpeg-user mailing list