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).
|
|
|
|
|
|
2018-11-26 16:44:06 +07:00
|
|
|
# This library requires a symbol from module-echo-cancel, hence we need
|
|
|
|
|
# '-Wl,--unresolved-symbols=ignore-in-object-files' otherwise it fails
|
|
|
|
|
# at link time.
|
2018-10-01 11:01:47 +07:00
|
|
|
|
|
|
|
|
libwebrtc_util_sources = [
|
|
|
|
|
'webrtc.cc'
|
|
|
|
|
]
|
|
|
|
|
|
2018-11-26 16:44:06 +07:00
|
|
|
libwebrtc_util = shared_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],
|
2019-08-03 01:52:09 +05:30
|
|
|
link_args : [nodelete_link_args, '-Wl,--unresolved-symbols=ignore-in-object-files'],
|
2018-10-13 11:50:03 +05:30
|
|
|
install : true,
|
2019-08-03 02:41:55 +05:30
|
|
|
install_rpath : privlibdir,
|
2018-10-13 11:50:03 +05:30
|
|
|
install_dir : modlibexecdir,
|
2018-10-01 11:01:47 +07:00
|
|
|
)
|