: alsa.pc's Libs shouldn't contain -lm -ldl -lpthread
The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2212>
======================================================================
Reported By: samuelthibault
Assigned To:
======================================================================
Project: ALSA - lib Issue ID: 2212 Category: 0_general Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 06-16-2006 20:08 CEST Last Modified: 06-16-2006 20:08 CEST
======================================================================
Summary: alsa.pc's Libs shouldn't contain -lm -ldl -lpthread
Description:
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
(so that static compiling still works).
Samuel
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
06-16-06 20:08 samuelthibault New Issue
======================================================================