shithub: opusfile

Download patch

ref: d1f2d06df8f18dfe848a10ef430e67ba9d398dc8
parent: 5c5dccb46039e813442af5bad65c12b5397e36a6
author: Ulrich Klauer <ulrich@chirlu.de>
date: Mon Apr 29 20:17:15 EDT 2013

Fix pkg-config file to avoid overlinking

Libraries that are used internally by opusfile but are not part of
 its API should be listed in pkg-config "private" clauses.
Otherwise executables that are linked dynamically against opusfile
 will have unneeded direct dependencies (overlinking).

Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>

--- a/opusfile.pc.in
+++ b/opusfile.pc.in
@@ -8,7 +8,7 @@
 Name: opusfile
 Description: High-level Opus decoding library
 Version: @VERSION@
-Requires: ogg >= 1.3 opus >= 1.0.1 @openssl@
+Requires.private: ogg >= 1.3 opus >= 1.0.1 @openssl@
 Conflicts:
 Libs: -L${libdir} -lopusfile
 Libs.private: @lrintf_lib@