[Pkg-alsa-devel] Bug#373982: libasound2-dev: alsa.pc's Libs shouldn't contain -lm -ldl -lpthread

Samuel Thibault samuel.thibault at ens-lyon.org
Fri Jun 16 16:14:30 UTC 2006

Package: libasound2-dev
Version: 1.0.11-3
Severity: minor


There are spurious dependencies in alsa.pc:

alsa.pc:Libs: -L${libdir} -lasound -lm -ldl -lpthread

-lm -ldl -lpthread are _not_ needed in Libs (since the alsa interface
doesn't depend on libm, libdl or libpthread interface) and just bring
unneeded dependencies. These should rather be put in Libs.private:

Libs: -L${libdir} -lasound
Libs.private: -lm -ldl -lpthread

so that static compiling works.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc1
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)

Versions of packages libasound2-dev depends on:
ii  libasound2                    1.0.11-3   ALSA library
ii  libc6-dev [libc-dev]          2.3.6-13   GNU C Library: Development Librari

libasound2-dev recommends no packages.

-- no debconf information

More information about the Pkg-alsa-devel mailing list