diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2020-10-12 16:02:54 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-10-17 15:53:46 +0300 |
commit | 0c95d92404cfc5cebb32c886484946a8a42f6e79 (patch) | |
tree | 0997a454ce51b6cff212a7ddd3863bb4692c4f8c /mesonbuild | |
parent | 66d3747efef9343ce2d98d24fe9be47c2432a941 (diff) | |
download | meson-0c95d92404cfc5cebb32c886484946a8a42f6e79.zip meson-0c95d92404cfc5cebb32c886484946a8a42f6e79.tar.gz meson-0c95d92404cfc5cebb32c886484946a8a42f6e79.tar.bz2 |
pkgconfig: InternalDependency's ext_deps should be private by default
This fixes a regression introduced by
https://github.com/mesonbuild/meson/pull/7488.
InternalDependency's ext_deps previously where simply ignored, but that
PR has effect to add many more public Requires in generated pc files.
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/modules/pkgconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/pkgconfig.py b/mesonbuild/modules/pkgconfig.py index 38c96a9..968e1ee 100644 --- a/mesonbuild/modules/pkgconfig.py +++ b/mesonbuild/modules/pkgconfig.py @@ -173,7 +173,7 @@ class DependenciesHelper: for t in link_whole_targets: self._add_link_whole(t, public) # And finally its external dependencies - add_libs(external_deps) + self.add_priv_libs(external_deps) def _add_link_whole(self, t, public): # Don't include static libraries that we link_whole. But we still need to |