When shared libraries are built, make the pkg-config requires Requires.private.
authorAnssi Hannula <anssi.hannula@iki.fi>
Thu, 29 May 2008 09:58:33 +0000 (09:58 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 29 May 2008 09:58:33 +0000 (09:58 +0000)
patch by Anssi Hannula, anssi.hannula gmail com

Originally committed as revision 13528 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 4a00c41..3b80f56 100755 (executable)
--- a/configure
+++ b/configure
@@ -2179,7 +2179,8 @@ includedir=$incdir
 Name: $name
 Description: $comment
 Version: $version
-Requires: $requires
+Requires: $(disabled shared && echo $requires)
+Requires.private: $(enabled shared && echo $requires)
 Conflicts:
 Libs: -L\${libdir} -l${shortname} $(disabled shared && echo $libs)
 Libs.private: $(enabled shared && echo $libs)