From 2e589a5b0b53eb62a3c66b54ef2c6b966d38e516 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sun, 23 Aug 2020 21:15:21 +0300 Subject: [PATCH] sokol.audio: add proper #flag for windows (-lole32) --- vlib/sokol/audio/audio.v | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vlib/sokol/audio/audio.v b/vlib/sokol/audio/audio.v index fbc27fbdeb..24392ff46a 100644 --- a/vlib/sokol/audio/audio.v +++ b/vlib/sokol/audio/audio.v @@ -5,6 +5,8 @@ module audio #include "sokol_audio.h" #flag linux -lasound #flag darwin -framework AudioToolbox +#flag windows -lole32 + // pub type FNStreamingCB = fn (buffer &f32, num_frames, num_channels int)