aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2020-10-12 16:02:54 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2020-10-17 15:53:46 +0300
commit0c95d92404cfc5cebb32c886484946a8a42f6e79 (patch)
tree0997a454ce51b6cff212a7ddd3863bb4692c4f8c /run_unittests.py
parent66d3747efef9343ce2d98d24fe9be47c2432a941 (diff)
downloadmeson-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 'run_unittests.py')
-rwxr-xr-xrun_unittests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 8f1c52a..03cd82b 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -6105,7 +6105,8 @@ class LinuxlikeTests(BasePlatformTests):
# See common/47 pkgconfig-gen/meson.build for description of the case this test
with open(os.path.join(privatedir1, 'simple2.pc')) as f:
content = f.read()
- self.assertIn('Libs: -L${libdir} -lsimple2 -lz -lsimple1', content)
+ self.assertIn('Libs: -L${libdir} -lsimple2 -lsimple1', content)
+ self.assertIn('Libs.private: -lz', content)
with open(os.path.join(privatedir1, 'simple3.pc')) as f:
content = f.read()