When shared libraries are built, make the pkg-config requires Requires.private.

patch by Anssi Hannula, anssi.hannula gmail com

Originally committed as revision 13528 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Anssi Hannula 2008-05-29 09:58:33 +00:00 committed by Diego Biurrun
parent 5faf168940
commit 5dcfe9f898

3
configure vendored
View File

@ -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)