alsa-lib/utils/alsa.pc.in
Jaroslav Kysela 7668e264af 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 .
2006-10-06 10:38:39 +02:00

14 lines
406 B
PkgConfig

prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: alsa
Description: Advanced Linux Sound Architecture (ALSA) - Library
Version: @VERSION@
Requires:
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