From 7fee85c80ab5e0bf16f26e353a32026144dae6a4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 18 Feb 2014 18:39:19 +0100 Subject: [PATCH] configure.ac: fix linker failure when libvorbis/libogg are static Link libvorbisfile first, followed to libvorbis and finally libogg. This order is necessary because libvorbisfile depends on libvorbis. --- NEWS | 2 ++ configure.ac | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index f671b1e75..f12530e60 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ ver 0.18.9 (not yet released) +* decoder + - vorbis: fix linker failure when libvorbis/libogg are static * encoder - vorbis: fix another linker failure diff --git a/configure.ac b/configure.ac index 471504527..81bdcea24 100644 --- a/configure.ac +++ b/configure.ac @@ -1023,7 +1023,7 @@ if test x$enable_tremor = xyes; then fi fi -MPD_AUTO_PKG(vorbis, VORBIS, [vorbis vorbisfile ogg], +MPD_AUTO_PKG(vorbis, VORBIS, [vorbisfile vorbis ogg], [Ogg Vorbis decoder], [libvorbis not found]) if test x$enable_vorbis = xyes; then AC_DEFINE(ENABLE_VORBIS_DECODER, 1, [Define for Ogg Vorbis support])