Description: drop unnecessary libdl linkage (ALSA_LIBS)
Author: Kamal Mostafa <kamal@whence.com>
Last-Update: 2010-12-17

---
Drop libdl linkage to avoid:

dpkg-shlibdeps: warning: dependency on libdl.so.2 could be avoided if "debian/soundmodem/usr/bin/soundmodemconfig debian/soundmodem/usr/sbin/soundmodem" were not uselessly linked against it (they use none of its symbols).

--- soundmodem-0.15.orig/configure
+++ soundmodem-0.15/configure
@@ -7146,7 +7146,7 @@ if test "$alsa_prefix" != "" ; then
 	LDFLAGS="$LDFLAGS $ALSA_LIBS"
 fi
 
-ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
+ALSA_LIBS="$ALSA_LIBS -lasound -lm -lpthread"
 LIBS="$ALSA_LIBS $LIBS"
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5
 $as_echo "$ALSA_LIBS" >&6; }
