[FFmpeg-user] How to enable external libraries but do not depend on them

Taner Sener tanersener at gmail.com
Sun Dec 23 19:20:32 EET 2018


Hi,


I’m building static libraries of ffmpeg with the following configure line.


./configure --enable-static --disable-shared --disable-doc
--disable-programs —enable-lib1 —enable-lib2 —enable-lib3 …


When make completes I have libavcodec.a, libavdevice.a, libavfilter.a,
libavformat.a, libavutil.a, libswresample.a, libswscale.a static ibraries.
But they depend on enabled libraries lib1.a, lib2.a, lib3.a, … . Is it
possible to specify a flag so that ffmpeg static libraries will include
enabled libraries lib1.a, lib2.a, etc. but will not depend on them. So I
won’t need them (external libraries) to distribute ffmpeg, which would be
easier for me?


Thanks


More information about the ffmpeg-user mailing list