diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-03-26 10:41:38 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-03-26 23:41:03 +0200 |
commit | 47633330da1011f9c526bab8950c8265ef9ed7d4 (patch) | |
tree | 7904dd8383d406486e572f4595911de9b0adc7fe /run_unittests.py | |
parent | df4314c7b88998aa9e7a497b1da04efb77110f60 (diff) | |
download | meson-47633330da1011f9c526bab8950c8265ef9ed7d4.zip meson-47633330da1011f9c526bab8950c8265ef9ed7d4.tar.gz meson-47633330da1011f9c526bab8950c8265ef9ed7d4.tar.bz2 |
pkgconfig: Allow setting prefix in dataonly pc file
Some variables are reserved because meson set them automatically. But we
are not setting them for dataonly pc files, so there is no reason to
reserve them.
Fixes: #8583.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py index 5362616..0888a97 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -6444,6 +6444,7 @@ class LinuxlikeTests(BasePlatformTests): self.assertEqual(libhello_nolib.get_link_args(), []) self.assertEqual(libhello_nolib.get_compile_args(), []) self.assertEqual(libhello_nolib.get_pkgconfig_variable('foo', {}), 'bar') + self.assertEqual(libhello_nolib.get_pkgconfig_variable('prefix', {}), self.prefix) def test_pkgconfig_gen_deps(self): ''' |