directsoundsrc_sources = [ 'gstdirectsoundsrc.c', 'gstdirectsoundplugin.c', ] if host_system == 'windows' and cc.has_header('dsound.h') directsoundsrc_dep = [cc.find_library('dsound'), cc.find_library('winmm')] gstdirectsoundsrc = library('gstdirectsoundsrc', directsoundsrc_sources, c_args : gst_plugins_bad_args, include_directories : [configinc], dependencies : [gstaudio_dep] + directsoundsrc_dep, install : true, install_dir : plugins_install_dir) endif