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 4a00c41b276b05d7cc19242b1d19cdce8cb0d235..3b80f5678c89fd6f83f626ab7cae6d874da797e7 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)