2018-10-01 11:01:47 +07:00
|
|
|
# The webrtc code is split off into a helper library to avoid having automake
|
|
|
|
|
# link module-echo-cancel with C++ (which it does if there are any C++ deps,
|
|
|
|
|
# even conditional ones).
|
|
|
|
|
|
|
|
|
|
# Defining this library as shared fails, as it actually requires a symbol
|
|
|
|
|
# from module-echo-cancel.c. Setting it to static solves that.
|
|
|
|
|
|
|
|
|
|
libwebrtc_util_sources = [
|
|
|
|
|
'webrtc.cc'
|
|
|
|
|
]
|
|
|
|
|
|
2018-11-26 15:36:13 +07:00
|
|
|
libwebrtc_util = static_library('webrtc-util',
|
2018-10-01 11:01:47 +07:00
|
|
|
libwebrtc_util_sources,
|
|
|
|
|
cpp_args : [pa_c_args, server_c_args],
|
|
|
|
|
include_directories : [configinc, topinc],
|
|
|
|
|
dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep, webrtc_dep],
|
2018-10-13 11:50:03 +05:30
|
|
|
install : true,
|
|
|
|
|
install_dir : modlibexecdir,
|
2018-10-01 11:01:47 +07:00
|
|
|
)
|