aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@iki.fi>2008-05-06 08:21:06 +0000
committerDiego Biurrun <diego@biurrun.de>2008-05-06 08:21:06 +0000
commit7a30f8ff55a6356320b18e3a45ea5b56141740b9 (patch)
tree6213aae511660fa83783f3e1c103537d7a0443a2
parente4a957d1a7f8ccd3418f6f17503c04f4d9719d08 (diff)
downloadffmpeg-7a30f8ff55a6356320b18e3a45ea5b56141740b9.tar.gz
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
-rwxr-xr-xconfigure6
1 files 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 <<EOF >$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
}