From 21fd2064ae22394f7cb3be9dab5c5cbb90d9c25c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Krause?= Date: Wed, 11 Jan 2017 21:17:02 +0100 Subject: [PATCH] Makefile.am: fix linking xiph with ogg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The internal static xiph library needs to link with libogg. Otherwise building mpd will fail: ``` /mips-linux-gnu/bin/ld: libxiph.a(libxiph_a-OggVisitor.o): undefined reference to symbol 'ogg_stream_packetout' ``` Signed-off-by: Jörg Krause --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index b0ac1aa36..33b394f64 100644 --- a/Makefile.am +++ b/Makefile.am @@ -615,7 +615,8 @@ libxiph_a_SOURCES += \ src/lib/xiph/OggStreamState.hxx endif -XIPH_LIBS = libxiph.a +XIPH_LIBS = libxiph.a \ + $(OGG_LIBS) endif