[PATCH 4/4] Fix pkg-config file to avoid overlinking

Ulrich Klauer ulrich at chirlu.de
Mon Apr 29 15:17:15 PDT 2013


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).
---
 opusfile.pc.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opusfile.pc.in b/opusfile.pc.in
index fda8b4a..76cd444 100644
--- a/opusfile.pc.in
+++ b/opusfile.pc.in
@@ -8,7 +8,7 @@ includedir=@includedir@
 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@
-- 
1.7.10.4


--=_COjUD0UOX3X_HtlxGY3PkA2--


--------------000608090109060006060206--


More information about the opus mailing list