[FFmpeg-user] pkg-config --static ?
Roger Pack
rogerdpack2 at gmail.com
Wed Sep 19 01:18:57 CEST 2012
> It is absolutely possible that I completely misunderstand
> how pkg-config is supposed to work, but imo
> pkg-config --libs should allow you to link to the library
> no matter how you configured it (or in other words: the
> pkg-config file of fontconfig has to look differently
> depending on how you configured fontconfig).
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
pkg-config.
Hmm...
-r
More information about the ffmpeg-user
mailing list