Commit 2e3bcd38 authored by Diego Biurrun's avatar Diego Biurrun

Create libpostproc pkgconfig files only if libpostproc is enabled.

Originally committed as revision 7363 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent acb3b537
......@@ -2114,8 +2114,10 @@ pkgconfig_generate_uninstalled libavcodec "FFmpeg codec library" "$lavc_version"
pkgconfig_generate libavformat "FFmpeg container format library" "$lavf_version" "-lavformat $extralibs" "$pkg_requires libavcodec = $lavc_version" ffmpeg
pkgconfig_generate_uninstalled libavformat "FFmpeg container format library" "$lavf_version" "$extralibs" "$pkg_requires libavcodec = $lavc_version"
pkgconfig_generate libpostproc "FFmpeg post processing library" "$pp_version" -lpostproc "" postproc
pkgconfig_generate_uninstalled libpostproc "FFmpeg post processing library" "$pp_version"
if test "$pp" = "yes"; then
pkgconfig_generate libpostproc "FFmpeg post processing library" "$pp_version" -lpostproc "" postproc
pkgconfig_generate_uninstalled libpostproc "FFmpeg post processing library" "$pp_version"
fi
if test "$swscaler" != "no"; then
pkgconfig_generate libswscale "FFmpeg image rescaling library" "$sws_version" "-lswscale" "$pkg_requires libavutil = $lavu_version" swscale
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment