[FFmpeg-user] pkg-config --static ?
phpdev at ehrhardt.nl
Mon Aug 5 00:00:13 CEST 2013
Roger Pack in gmane.comp.video.ffmpeg.user (Tue, 18 Sep 2012 17:18:57
>Apparently nobody (including myself) really understand pkg-config.
>Here is an answer from fontconfig people:
>> I guess my only question mark here is "since I built fontconfig with
>> --disable-shared --enable-static" would you say that fontconfig is
>> still correct here?
>>AFAICT It's pkg-config's design no matter what the library has been built with.
>I'm really not sure how FFmpeg is supposed to "know" it's linking
>against a static library, and thus know to pass the "--static" flag to
To follow-up once again on this message: you can tell FFmpeg to use
--static for all libraries. Just put "pkg_config='pkg-config --static'"
at the beginning of your ./configure command-line.
Take a look at man pkg-config as well.
More information about the ffmpeg-user