Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gst-plugins-good.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2018-11-21 23:11:00 +0300
committerXavier Claessens <xavier.claessens@collabora.com>2018-11-23 04:04:53 +0300
commit5fad0735a56b6d70bd6170db19eec4210df5ce67 (patch)
tree594a89e24551963a3da635f5cfb7e9d53a56fd2f /meson.build
parent3b22a604b59a8a9b1e0141180746a927e87b3655 (diff)
Check for zlib header
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 22342a2db..216070836 100644
--- a/meson.build
+++ b/meson.build
@@ -307,7 +307,7 @@ endif
zlib_dep = dependency('zlib', required : false)
if not zlib_dep.found()
zlib_dep = cc.find_library('z', required : false)
- if not zlib_dep.found()
+ if not zlib_dep.found() or not cc.has_header('zlib.h')
zlib_dep = subproject('zlib').get_variable('zlib_dep')
endif
endif