From: Ralph Giles Date: Fri, 12 Jun 2020 23:48:59 +0000 (-0700) Subject: pkg-config: Only append -lm if necessary. X-Git-Tag: v1.3.7~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=f1c1e4451c650008cc5549b08c10fe9ad8ddb1fa;p=platform%2Fupstream%2Flibvorbis.git 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 --- diff --git a/vorbis.pc.in b/vorbis.pc.in index 0eacf66..f5ca77d 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}