configure.ac / meson: depend on libnativewindow when appropriate
libnativewindow is only available on O or greater, and it's required for some features. Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user