From f1c1e4451c650008cc5549b08c10fe9ad8ddb1fa Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Fri, 12 Jun 2020 16:48:59 -0700 Subject: pkg-config: Only append -lm if necessary. Some systems don't require a separate -lm to link with libc math functions. The configure script checks for this, so use the corresponding variable to set the dependent libraries in vorbis.pc dynamically. Signed-off-by: Marvin Scholz --- vorbis.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vorbis.pc.in b/vorbis.pc.in index 0eacf66f..f5ca77d0 100644 --- a/vorbis.pc.in +++ b/vorbis.pc.in @@ -11,5 +11,5 @@ Version: @VERSION@ Requires.private: ogg Conflicts: Libs: -L${libdir} -lvorbis -Libs.private: -lm +Libs.private: @VORBIS_LIBS@ Cflags: -I${includedir} -- cgit v1.2.1