File: drop-unnecessary-libdl-linkage

package info (click to toggle)
soundmodem 0.20-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,492 kB
  • sloc: ansic: 20,666; sh: 3,834; makefile: 269; cpp: 261; xml: 51; perl: 31; sed: 16
file content (20 lines) | stat: -rw-r--r-- 691 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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).

--- a/configure
+++ b/configure
@@ -7533,7 +7533,7 @@
 	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; }