mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 06:26:15 +01:00
Merge branch 'zlib' into 'master'
Check for zlib header See merge request GNOME/glib!486
This commit is contained in:
commit
10be7824a1
@ -1765,10 +1765,9 @@ if not libz_dep.found()
|
||||
libz_dep = cc.find_library('zlib', required : false)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
if not libz_dep.found()
|
||||
libz_dep = subproject('zlib').get_variable('zlib_dep')
|
||||
if not libz_dep.found() or not cc.has_header('zlib.h')
|
||||
libz_dep = subproject('zlib').get_variable('zlib_dep')
|
||||
endif
|
||||
endif
|
||||
|
||||
# First check in libc, fallback to libintl, and as last chance build
|
||||
|
Loading…
Reference in New Issue
Block a user