projects
/
platform
/
upstream
/
libvorbis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68d9d74
)
pkg-config: Only append -lm if necessary.
author
Ralph Giles
<giles@thaumas.net>
Fri, 12 Jun 2020 23:48:59 +0000
(16:48 -0700)
committer
Ralph Giles
<giles@thaumas.net>
Sat, 13 Jun 2020 00:25:58 +0000
(17:25 -0700)
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>
vorbis.pc.in
patch
|
blob
|
history
diff --git
a/vorbis.pc.in
b/vorbis.pc.in
index
0eacf66
..
f5ca77d
100644
(file)
--- 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}