[Scummvm-git-logs] scummvm master -> c1b94c5d4cd16dc01e841a891e1a7575fe0b56cc
lephilousophe
noreply at scummvm.org
Sun Jun 30 15:59:59 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
c1b94c5d4c CONFIGURE: Match FLAC defines with the ones used in source code
Commit: c1b94c5d4cd16dc01e841a891e1a7575fe0b56cc
https://github.com/scummvm/scummvm/commit/c1b94c5d4cd16dc01e841a891e1a7575fe0b56cc
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2024-06-30T17:57:23+02:00
Commit Message:
CONFIGURE: Match FLAC defines with the ones used in source code
Newer FLAC versions also need this define for Mingw.
Adding this define makes FLAC properly detected and builds works.
This doesn't work with a DLL based FLAC but, because of the define in
flac.cpp it couldn't work anyway.
A proper fix would be to switch to pkg-config for FLAC.
Changed paths:
configure
diff --git a/configure b/configure
index 6ac5641300a..a0e6870f506 100755
--- a/configure
+++ b/configure
@@ -5217,6 +5217,8 @@ echocheck "FLAC >= 1.0.1"
if test "$_flac" = auto ; then
_flac=no
cat > $TMPC << EOF
+#define FLAC__NO_DLL // Like in audio/decoders/flac.cpp
+
#include <FLAC/stream_decoder.h>
#include <FLAC/format.h>
int main(void) {
More information about the Scummvm-git-logs
mailing list