diff options
| author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-10-28 15:04:32 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-11-02 14:24:08 -0400 |
| commit | c8d125653d0535624741c591397a2b9b4ae3bb43 (patch) | |
| tree | b78f33ff499ba351d2a9c770cc36453c899b01c9 /test cases/unit | |
| parent | 98a9cc079cc59fa932ee002ca61abc8588d60512 (diff) | |
| download | meson-c8d125653d0535624741c591397a2b9b4ae3bb43.tar.gz | |
python.dependency(): Do not stop when first candidate is not found
It has to lookup the dependency with required=False otherwise it raises
an exception when the first candidate (pkg-config) failed.
Diffstat (limited to 'test cases/unit')
| -rw-r--r-- | test cases/unit/101 python without pkgconfig/meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test cases/unit/101 python without pkgconfig/meson.build b/test cases/unit/101 python without pkgconfig/meson.build new file mode 100644 index 000000000..b3a0c42fb --- /dev/null +++ b/test cases/unit/101 python without pkgconfig/meson.build @@ -0,0 +1,4 @@ +project('python wihtout pkgconfig', 'c') + +# This unit test is ran with PKG_CONFIG=notfound +import('python').find_installation().dependency() |
