Commit 8ee8b99d authored by CJ Yang's avatar CJ Yang Committed by Changjiang Yang
Browse files

Fix msvc link error "LNK2005: PKEY_AudioEndpoint_FormFactor already defined"

parent 17343aa3
Pipeline #24171 passed with stages
in 35 minutes and 46 seconds
......@@ -27,9 +27,15 @@ if ole32_dep.found() and ksuser_dep.found() and have_audioclient_h
wasapi_args += ['-DHAVE_AUDCLNT_STREAMOPTIONS']
endif
if meson.get_compiler('c').get_id() == 'msvc'
extra_args = ['/FORCE:MULTIPLE']
else
extra_args = []
endif
gstwasapi = library('gstwasapi',
wasapi_sources,
c_args : gst_plugins_bad_args + wasapi_args,
link_args : extra_args,
include_directories : [configinc],
dependencies : [gstaudio_dep, ole32_dep, ksuser_dep],
install : true,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment