package/sdl_mixer: fix static build with tremor

Static build with tremor raises a build failure since bump to latest git
tree in commit c8e27f3baa. However, it
should be noted that before this bump, tremor was always disabled in
static builds because vorbisidec detection was broken until
565a9a27cc

Fixes:
 - http://autobuild.buildroot.org/results/9634adc433da0e25732eb98675c59d0f96ac93b2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2021-04-10 12:05:54 +02:00 committed by Thomas Petazzoni
parent 310008e02d
commit 44fdcdea49

View File

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