GNOME Bugzilla – Bug 791538
meson: Need to generate a .pc file for each plugin for static compilation
Last modified: 2018-03-22 18:44:33 UTC
When building against a static plugin, you need to have explicit dependencies that it uses as those are not stored in the .a file. With libtool, those are store in a ".la" files. Meson does not use .la files adn prefers to use pkgconfig files for this, so it need to provide the same information in the Libs.private/Requires.private sections. Therefore, we need to generate a .pc file for every single plugin in GStreamer to know what external libraries it should be compiled against. Afaik, this should be a meson feature, so I also filed it upstream: https://github.com/mesonbuild/meson/issues/2772
Looks like I opened a dup. But mine has patches so it wins :D *** This bug has been marked as a duplicate of bug 794568 ***