diff options
author | Ralph Giles <giles@thaumas.net> | 2020-06-12 16:48:59 -0700 |
---|---|---|
committer | Ralph Giles <giles@thaumas.net> | 2020-06-12 17:25:58 -0700 |
commit | f1c1e4451c650008cc5549b08c10fe9ad8ddb1fa (patch) | |
tree | 53963d053fed4e9a21c7a483942c6e1ecdb560c5 | |
parent | 68d9d740a5f2d41fa7f62ec96bf8f49947e83dbf (diff) | |
download | libvorbis-git-f1c1e4451c650008cc5549b08c10fe9ad8ddb1fa.tar.gz |
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 <epirat07@gmail.com>
-rw-r--r-- | vorbis.pc.in | 2 |
1 files changed, 1 insertions, 1 deletions
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} |