summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@iki.fi>2008-05-29 09:58:33 +0000
committerDiego Biurrun <diego@biurrun.de>2008-05-29 09:58:33 +0000
commit5dcfe9f8984d36bdc53d4a99a8ce07003515643c (patch)
treebafdca1874d9f0b7b23f581aa8b8909199dc813e
parent5faf168940d6a9787552637c260b18329453bda3 (diff)
downloadffmpeg-5dcfe9f8984d36bdc53d4a99a8ce07003515643c.tar.gz
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
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 4a00c41b27..3b80f5678c 100755
--- 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)