aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/dev.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-09-30 09:33:13 -0700
committerGitHub <noreply@github.com>2020-09-30 09:33:13 -0700
commitce2d927a7963caea26e858bead3123adc274606c (patch)
tree4759063f5127e8b80999705fa930ce1be7493b3e /mesonbuild/dependencies/dev.py
parent137c3124e23f0f589c8855aafcd7897aa6d8c544 (diff)
parenta3106776a681201b166d019a3cf27cfe07f30a87 (diff)
downloadmeson-ce2d927a7963caea26e858bead3123adc274606c.zip
meson-ce2d927a7963caea26e858bead3123adc274606c.tar.gz
meson-ce2d927a7963caea26e858bead3123adc274606c.tar.bz2
Merge pull request #7757 from dcbaker/submit/curses-dependency
Extend the Curses dependency to use config tools and hand rolled search
Diffstat (limited to 'mesonbuild/dependencies/dev.py')
-rw-r--r--mesonbuild/dependencies/dev.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/dev.py b/mesonbuild/dependencies/dev.py
index 67d7e65..99c5c07 100644
--- a/mesonbuild/dependencies/dev.py
+++ b/mesonbuild/dependencies/dev.py
@@ -480,7 +480,7 @@ class ZlibSystemDependency(ExternalDependency):
for lib in libs:
l = self.clib_compiler.find_library(lib, environment, [])
h = self.clib_compiler.has_header('zlib.h', '', environment, dependencies=[self])
- if l and h:
+ if l and h[0]:
self.is_found = True
self.link_args = l
break