From 99d32dc0b4173ab3704aa9393b3bfa9ccadf6276 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 7 May 2016 22:47:45 +0200 Subject: [PATCH] Makefile.am: fix build failure when libxiph.a is not used Some "ar" implementations don't allow empty archives, and failed to build it. The real reason (which is hidden with GNU binutils) is that our Makefile.am was incorrect, and didn't completely disable libxiph.a. See https://bugs.musicpd.org/view.php?id=4526 --- Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 5884df7bc..25706952e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,7 +20,6 @@ noinst_LIBRARIES = \ libevent.a \ libicu.a \ libpcm.a \ - libxiph.a \ libconf.a \ libtag.a \ libinput.a \ @@ -1829,7 +1828,7 @@ test_dump_playlist_LDADD = \ $(FLAC_LIBS) \ $(DECODER_LIBS) \ $(TAG_LIBS) \ - libxiph.a \ + $(XIPH_LIBS) \ $(INPUT_LIBS) \ $(ARCHIVE_LIBS) \ libconf.a \