mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
meson: Add gnustl dep for webrtcdsp on Android
Needed for C++ headers. Without this, webrtcdsp can't find <algorithm>
This commit is contained in:
parent
c73abb0c71
commit
c54e4b6305
1 changed files with 7 additions and 2 deletions
|
@ -6,13 +6,18 @@ webrtc_sources = [
|
||||||
webrtc_dep = dependency('webrtc-audio-processing', version : ['>= 0.2', '< 0.4'],
|
webrtc_dep = dependency('webrtc-audio-processing', version : ['>= 0.2', '< 0.4'],
|
||||||
required : get_option('webrtcdsp'))
|
required : get_option('webrtcdsp'))
|
||||||
|
|
||||||
if webrtc_dep.found()
|
gnustl_dep = declare_dependency()
|
||||||
|
if host_system == 'android'
|
||||||
|
gnustl_dep = dependency('gnustl', required : get_option('webrtcdsp'))
|
||||||
|
endif
|
||||||
|
|
||||||
|
if webrtc_dep.found() and gnustl_dep.found()
|
||||||
gstwebrtcdsp = library('gstwebrtcdsp',
|
gstwebrtcdsp = library('gstwebrtcdsp',
|
||||||
webrtc_sources,
|
webrtc_sources,
|
||||||
cpp_args : gst_plugins_bad_args,
|
cpp_args : gst_plugins_bad_args,
|
||||||
link_args : noseh_link_args,
|
link_args : noseh_link_args,
|
||||||
include_directories : [configinc],
|
include_directories : [configinc],
|
||||||
dependencies : [gstbase_dep, gstaudio_dep, gstbadaudio_dep, webrtc_dep],
|
dependencies : [gstbase_dep, gstaudio_dep, gstbadaudio_dep, webrtc_dep, gnustl_dep],
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : plugins_install_dir,
|
install_dir : plugins_install_dir,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue