hey, this patch should fix #4026.
authorFlorian Fainelli <florian@openwrt.org>
Sat, 27 Sep 2008 14:24:50 +0000 (14:24 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 27 Sep 2008 14:24:50 +0000 (14:24 +0000)
currently, mpd depends on libsamplerate:
michux at fwpiercer:~/trunk2/trunk$ objdump -p
build_dir/mipsel/mpd-0.13.2/src/mpd | grep NEEDED
   NEEDED      libnsl.so.0
   NEEDED      libsamplerate.so.0  <<<<
   NEEDED      libasound.so.2
   NEEDED      libdl.so.0
   NEEDED      libpthread.so.0
   NEEDED      libiconv.so.2
   NEEDED      libid3tag.so.0
   NEEDED      libz.so.1
   NEEDED      libmad.so.0
   NEEDED      libFLAC.so
   NEEDED      libm.so.0
   NEEDED      libvorbisidec.so.1
   NEEDED      libgcc_s.so.1
   NEEDED      libc.so.0

libsamplerate is quite large:
1336652 2008-09-21 06:17 bin/packages/mipsel/libsamplerate_0.1.3-2_mipsel.ipk

so it would make sense to compile mpd per default without
libsamplerate, as more than 1 mb for a feature you probably don't need
is quite a waste of space...

cheers
michu

Signed-off-by: Michael Vogt <michu at neophob.com>
sound/mpd/Makefile

index c9f9c9aa46a893ca6a73190f690e1c4d760d845b..b98e5c7d75aa483fb7dd69ed3a1dc93aa6262e1b 100644 (file)
@@ -47,6 +47,7 @@ define Build/Configure
                --disable-audiofile \
                --disable-mpc \
                --disable-aac \
+               --disable-lsr \
                --with-tremor \
                --with-id3tag-includes="$(STAGING_DIR)/usr/include" \
                --with-id3tag-libraries="$(STAGING_DIR)/usr/lib" \