From 7668e264af0496d0c008fa0f6f02e2a992f22df9 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 6 Oct 2006 10:38:39 +0200 Subject: [PATCH] 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 . --- utils/alsa.pc.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.1