[ALSA - lib 0002212]: alsa.pc's Libs shouldn't contain -lm -ldl -lpthread

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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                                    
======================================================================




_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux