diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-05-02 14:54:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-02 14:54:02 -0700 |
commit | c0aa89e57ff5a92c1a1e2cf542692f54622d8cd2 (patch) | |
tree | febe385c372b2a1009be83be16528a892df60de5 /mesonbuild/dependencies/ui.py | |
parent | ae9a6417fe8158573801e10b84906931facb8112 (diff) | |
parent | c61ae46461bf9f4c7afef2381032ac0cb2d26043 (diff) | |
download | meson-c0aa89e57ff5a92c1a1e2cf542692f54622d8cd2.zip meson-c0aa89e57ff5a92c1a1e2cf542692f54622d8cd2.tar.gz meson-c0aa89e57ff5a92c1a1e2cf542692f54622d8cd2.tar.bz2 |
Merge pull request #4952 from mensinda/cacheCompiles
Cache compilers.compile() in coredata
Diffstat (limited to 'mesonbuild/dependencies/ui.py')
-rw-r--r-- | mesonbuild/dependencies/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py index b473ac8..b1fa632 100644 --- a/mesonbuild/dependencies/ui.py +++ b/mesonbuild/dependencies/ui.py @@ -641,7 +641,7 @@ class VulkanDependency(ExternalDependency): else: # simply try to guess it, usually works on linux libs = self.clib_compiler.find_library('vulkan', environment, []) - if libs is not None and self.clib_compiler.has_header('vulkan/vulkan.h', '', environment): + if libs is not None and self.clib_compiler.has_header('vulkan/vulkan.h', '', environment, disable_cache=True)[0]: self.type_name = 'system' self.is_found = True for lib in libs: |