meson: directsound: Add ole32 library dependency
authorScott D Phillips <scott.d.phillips@intel.com>
Fri, 21 Oct 2016 07:39:32 +0000 (00:39 -0700)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Fri, 21 Oct 2016 09:05:27 +0000 (06:05 -0300)
https://bugzilla.gnome.org/show_bug.cgi?id=773114

sys/directsound/meson.build

index c48adc1aec62187e6977a1d022b2a2400ff457c1..efe9a1ec79c0a57f1ae631ebbfe9cc0c5b6b2902 100644 (file)
@@ -4,7 +4,7 @@ directsoundsrc_sources = [
 ]
 
 if host_system == 'windows' and cc.has_header('dsound.h')
-  directsoundsrc_dep = [cc.find_library('dsound'), cc.find_library('winmm')]
+  directsoundsrc_dep = [cc.find_library('dsound'), cc.find_library('winmm'), cc.find_library('ole32')]
 
   gstdirectsoundsrc = library('gstdirectsoundsrc',
     directsoundsrc_sources,