diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2020-06-21 19:48:39 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-06-24 22:53:09 +0300 |
commit | d0f468fef11f576cbbb2e704517f7b2d010750a1 (patch) | |
tree | 275ff7405bf24abd55c922dedf5c6b0427052a50 /run_unittests.py | |
parent | 35f2a2444f9298b59f0f2cd60b71d31c96ffb511 (diff) | |
download | meson-d0f468fef11f576cbbb2e704517f7b2d010750a1.zip meson-d0f468fef11f576cbbb2e704517f7b2d010750a1.tar.gz meson-d0f468fef11f576cbbb2e704517f7b2d010750a1.tar.bz2 |
pkgconfig: Add missing cflags in uninstalled files
Fixes: #7365
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/run_unittests.py b/run_unittests.py index 1a96f8f..9e8aa50 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -3177,8 +3177,9 @@ int main(int argc, char **argv) { self.assertEqual(foo_dep.get_link_args(), link_args) # Ensure include args are properly quoted incdir = PurePath(prefix) / PurePath('include') - cargs = ['-I' + incdir.as_posix()] - self.assertEqual(foo_dep.get_compile_args(), cargs) + cargs = ['-I' + incdir.as_posix(), '-DLIBFOO'] + # pkg-config and pkgconf does not respect the same order + self.assertEqual(sorted(foo_dep.get_compile_args()), sorted(cargs)) def test_array_option_change(self): def get_opt(): |