diff options
author | Matthew Waters <matthew@centricular.com> | 2018-11-12 21:23:37 +1100 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2018-11-12 21:37:07 +1100 |
commit | c78f81f4105661b687ff496694b506deafe59312 (patch) | |
tree | 52b29ef80e7020106926335ac42a237cd889ec14 /ext/webrtcdsp | |
parent | 15fc39c2964c016ca29800e4637d486ee4af0497 (diff) |
build: link against the gnustl dependency on android for c++ plugins
Diffstat (limited to 'ext/webrtcdsp')
-rw-r--r-- | ext/webrtcdsp/meson.build | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/webrtcdsp/meson.build b/ext/webrtcdsp/meson.build index a0e09a02d..8820e616f 100644 --- a/ext/webrtcdsp/meson.build +++ b/ext/webrtcdsp/meson.build @@ -6,9 +6,8 @@ webrtc_sources = [ webrtc_dep = dependency('webrtc-audio-processing', version : ['>= 0.2', '< 0.4'], required : get_option('webrtcdsp')) -gnustl_dep = declare_dependency() -if host_system == 'android' - gnustl_dep = dependency('gnustl', required : get_option('webrtcdsp')) +if not gnustl_dep.found() and get_option('webrtcdsp').enabled() + error('webrtcdsp plugin enabled but could not find gnustl dep for Android c++ support') endif if webrtc_dep.found() and gnustl_dep.found() |