From: Jaroslav Kysela Date: Fri, 6 Oct 2006 08:38:39 +0000 (+0200) Subject: alsa.pc's Libs shouldn't contain -lm -ldl -lpthread X-Git-Tag: v1.0.14rc1~28 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=7668e264af0496d0c008fa0f6f02e2a992f22df9;p=alsa-lib.git 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 . --- diff --git a/utils/alsa.pc.in b/utils/alsa.pc.in index 546e4875..b64f73a8 100644 --- a/utils/alsa.pc.in +++ b/utils/alsa.pc.in @@ -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