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

Elimar Riesebieter riesebie at lxtec.de
Fri Jun 16 16:52:48 UTC 2006


tags 373982 wontfix

thanks


On Fri, 16 Jun 2006 the mental interface of
Samuel Thibault told:

> Package: libasound2-dev
> Version: 1.0.11-3
> Severity: minor
> 
> Hi,
> 
> 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

utils/alsa.pc.in in the source package has to be patched then. If this
is an advantage for _all_ alsa-users please report this upstream:
https://bugtrack.alsa-project.org/alsa-bug/
In fact it isn't a Debian issue only ;)

Elimar

-- 
  >what IMHO then?
  IMHO - Inhalation of a Multi-leafed Herbal Opiate ;)
              --posting from alex in debian-user--




More information about the Pkg-alsa-devel mailing list