mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-14 12:26:36 +00:00
35271a2ef3
None of the symbols in webrtc-audio-coding-1 are marked with `__declspec(dllexport)`, rendering the library usable only if it was built with GCC/Clang. The only fix available (as the pulseaudio copy has not been updated with Google's upstream) is to ensure the fallback builds statically. Although this change will also affect webrtcdsp's dependency on webrtc-audio-processing-1, it does not break its compilation. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6407>
24 lines
690 B
Meson
24 lines
690 B
Meson
if cc.get_define('_MSC_VER') != ''
|
|
webrtc_audio_coding_dep = dependency('webrtc-audio-coding-1', required: get_option('isac'), default_options: ['default_library=static'])
|
|
else
|
|
webrtc_audio_coding_dep = dependency('webrtc-audio-coding-1', required: get_option('isac'))
|
|
endif
|
|
|
|
|
|
if webrtc_audio_coding_dep.found()
|
|
isac_sources = [
|
|
'gstisac.c',
|
|
'gstisacenc.c',
|
|
'gstisacdec.c',
|
|
'gstisacutils.c',
|
|
]
|
|
|
|
gstisac = library('gstisac', isac_sources,
|
|
c_args : gst_plugins_bad_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gstaudio_dep, webrtc_audio_coding_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
plugins += [gstisac]
|
|
endif
|