From bf7ef354d550c43e39821366fd9d09168f0c35aa Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 13 Sep 2022 17:09:42 +0900 Subject: [PATCH] [audio] Ensure FLAC doesn't use dll imports For whatever reason, building under MXE (for windows) causes FLAC to try to use dll import references, but setting FLAC__NO_DLL before including FLAC/export.h fixes the issue. --- libs/audio/renderer/flac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/audio/renderer/flac.c b/libs/audio/renderer/flac.c index b757994ae..000ec4867 100644 --- a/libs/audio/renderer/flac.c +++ b/libs/audio/renderer/flac.c @@ -39,6 +39,7 @@ #endif #include +#define FLAC__NO_DLL #include #include "qfalloca.h"