1# The webrtc code is split off into a helper library to avoid having automake 2# link module-echo-cancel with C++ (which it does if there are any C++ deps, 3# even conditional ones). 4 5# This library requires a symbol from module-echo-cancel, hence we need 6# '-Wl,--unresolved-symbols=ignore-in-object-files' otherwise it fails 7# at link time. 8 9libwebrtc_util_sources = [ 10 'webrtc.cc' 11] 12 13libwebrtc_util = shared_library('webrtc-util', 14 libwebrtc_util_sources, 15 cpp_args : [pa_c_args, server_c_args], 16 include_directories : [configinc, topinc], 17 dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep, libatomic_ops_dep, webrtc_dep, libintl_dep], 18 link_args : [nodelete_link_args, '-Wl,--unresolved-symbols=ignore-in-object-files'], 19 install : true, 20 install_rpath : privlibdir, 21 install_dir : modlibexecdir, 22) 23