From 870726efd9ce2abdf30aaa4086b1ab4c06651fd2 Mon Sep 17 00:00:00 2001 From: Tim Terriberry Date: Fri, 29 Mar 2013 16:49:46 +0000 Subject: [PATCH] Update pkgconfig files to reduce overlinking. Patch from Cristian Rodriguez. Reviewed by: David Schleef, Conrad Parker, Ron Lee Thanks to Brad Smith for kicking us. Fixes #1759. svn path=/trunk/vorbis/; revision=18889 --- vorbis.pc.in | 5 +++-- vorbisenc.pc.in | 2 +- vorbisfile.pc.in | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/vorbis.pc.in b/vorbis.pc.in index 259abe7..0eacf66 100644 --- a/vorbis.pc.in +++ b/vorbis.pc.in @@ -8,7 +8,8 @@ includedir=@includedir@ Name: vorbis Description: vorbis is the primary Ogg Vorbis library Version: @VERSION@ -Requires: ogg +Requires.private: ogg Conflicts: -Libs: -L${libdir} -lvorbis -lm +Libs: -L${libdir} -lvorbis +Libs.private: -lm Cflags: -I${includedir} diff --git a/vorbisenc.pc.in b/vorbisenc.pc.in index 1d90095..a412b7a 100644 --- a/vorbisenc.pc.in +++ b/vorbisenc.pc.in @@ -8,7 +8,7 @@ includedir=@includedir@ Name: vorbisenc Description: vorbisenc is a library that provides a convenient API for setting up an encoding environment using libvorbis Version: @VERSION@ -Requires: vorbis +Requires.private: vorbis Conflicts: Libs: -L${libdir} -lvorbisenc Cflags: -I${includedir} diff --git a/vorbisfile.pc.in b/vorbisfile.pc.in index b4387f2..e58a071 100644 --- a/vorbisfile.pc.in +++ b/vorbisfile.pc.in @@ -8,7 +8,7 @@ includedir=@includedir@ Name: vorbisfile Description: vorbisfile is a library that provides a convenient high-level API for decoding and basic manipulation of all Vorbis I audio streams Version: @VERSION@ -Requires: vorbis +Requires.private: vorbis Conflicts: Libs: -L${libdir} -lvorbisfile Cflags: -I${includedir} -- 2.7.4