Skip to content

Commit f1c1e44

Browse files
committed
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 <[email protected]>
1 parent 68d9d74 commit f1c1e44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: vorbis.pc.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ Version: @VERSION@
1111
Requires.private: ogg
1212
Conflicts:
1313
Libs: -L${libdir} -lvorbis
14-
Libs.private: -lm
14+
Libs.private: @VORBIS_LIBS@
1515
Cflags: -I${includedir}

0 commit comments

Comments
 (0)