mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
Check for zlib header
This commit is contained in:
parent
a907ed226c
commit
d3f9daf07c
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ core_conf.set('HAVE_ISO_CODES', have_iso_codes)
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue