From 7a30f8ff55a6356320b18e3a45ea5b56141740b9 Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Tue, 6 May 2008 08:21:06 +0000 Subject: [PATCH] In pkg-config files, libraries not exposed through the library, but just needed during static linking should be listed under Libs.private, not Libs. patch by Anssi Hannula, anssi.hannula gmail com Originally committed as revision 13067 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 09659af895..f8b80a9310 100755 --- a/configure +++ b/configure @@ -2145,7 +2145,8 @@ Description: $comment Version: $version Requires: $requires Conflicts: -Libs: -L\${libdir} -l${shortname} $libs +Libs: -L\${libdir} -l${shortname} +Libs.private: $libs Cflags: -I\${includedir} EOF cat <$name-uninstalled.pc @@ -2159,7 +2160,8 @@ Description: $comment Version: $version Requires: $requires Conflicts: -Libs: \${libdir}/${LIBPREF}${shortname}${LIBSUF} $libs +Libs: \${libdir}/${LIBPREF}${shortname}${LIBSUF} +Libs.private: $libs Cflags: -I\${includedir} EOF }