1From 02e247a0b820753977315786087b969f3b2c53da Mon Sep 17 00:00:00 2001
2From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
3Date: Sat, 10 Apr 2021 11:50:17 +0200
4Subject: [PATCH] configure.ac: fix linking with tremor
5
6backported from: https://github.com/libsdl-org/SDL_mixer/pull/312
7Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
8---
9 configure.ac | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/configure.ac b/configure.ac
13index c8dbcdb..93d5db0 100644
14--- a/configure.ac
15+++ b/configure.ac
16@@ -453,7 +453,7 @@ if test x$enable_music_ogg = xyes; then
17                 echo "-- dynamic libvorbisidec -> $ogg_lib"
18                 EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_DYNAMIC=\\\"$ogg_lib\\\""
19             else
20-                EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisidec -lvorbis"
21+                EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisidec"
22             fi
23         else
24             AC_MSG_WARN([*** Unable to find Ogg Vorbis Tremor library (http://www.xiph.org/)])
25