mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
alsa.pc's Libs shouldn't contain -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
See ALSA bug#2212 .
This commit is contained in:
parent
1a87651393
commit
7668e264af
1 changed files with 2 additions and 1 deletions
|
|
@ -7,7 +7,8 @@ Name: alsa
|
|||
Description: Advanced Linux Sound Architecture (ALSA) - Library
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lasound -lm -ldl -lpthread
|
||||
Libs: -L${libdir} -lasound
|
||||
Libs.private: -lm -ldl -lpthread
|
||||
# -I${includedir}/alsa below is just for backward compatibility
|
||||
# (it was set so mistakely in the older version)
|
||||
Cflags: -I${includedir} -I${includedir}/alsa
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue