Verified Commit f1c1e445 authored by Ralph Giles's avatar Ralph Giles
Browse files

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's avatarMarvin Scholz <>
parent 68d9d740
......@@ -11,5 +11,5 @@ Version: @VERSION@
Requires.private: ogg
Libs: -L${libdir} -lvorbis
Libs.private: -lm
Libs.private: @VORBIS_LIBS@
Cflags: -I${includedir}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment