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:
Jaroslav Kysela 2006-10-06 10:38:39 +02:00
parent 1a87651393
commit 7668e264af

View file

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