From b07086104533060b833f5d70200dae3c0da6ff7d Mon Sep 17 00:00:00 2001 From: Gurchetan Singh Date: Fri, 15 Mar 2019 10:08:45 -0700 Subject: configure.ac / meson: depend on libnativewindow when appropriate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit libnativewindow is only available on O or greater, and it's required for some features. Reviewed-by: Tapani Pälli --- meson.build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 7b337755544..715c966c679 100644 --- a/meson.build +++ b/meson.build @@ -726,6 +726,9 @@ if with_platform_android dependency('hardware'), dependency('sync'), ] + if get_option('platform-sdk-version') >= 26 + dep_android += dependency('nativewindow') + endif pre_args += '-DHAVE_ANDROID_PLATFORM' endif if with_platform_haiku -- cgit v1.2.3