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 <epirat07@gmail.com>
parent 68d9d740
Pipeline #1946 passed with stage
in 1 minute and 51 seconds
......@@ -11,5 +11,5 @@ Version: @VERSION@
Requires.private: ogg
Conflicts:
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