aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorGrazvydas Ignotas <[email protected]>2017-12-29 01:29:10 +0200
committerGrazvydas Ignotas <[email protected]>2018-01-14 18:52:23 +0200
commit87f723408b3f4c088dcb819e88922918ae064d72 (patch)
tree0f0754f51568633b07a751539d93e016bdfa8484 /meson.build
parentb7347cc3131685591f90eb94f6362a679307067e (diff)
android,configure,meson: define HAVE_ZLIB
The next change wants to use some optional zlib functionality, however not all platforms currently use zlib. Based on earlier Jordan Justen's patches and their review feedback. Signed-off-by: Grazvydas Ignotas <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 77e4e894b23..ae31cdd6571 100644
--- a/meson.build
+++ b/meson.build
@@ -943,6 +943,7 @@ endif
# TODO: some of these may be conditional
dep_zlib = dependency('zlib', version : '>= 1.2.3')
+pre_args += '-DHAVE_ZLIB'
dep_thread = dependency('threads')
if dep_thread.found() and host_machine.system() != 'windows'
pre_args += '-DHAVE_PTHREAD'