提交 e4797262 编写于 作者: J j@v2v.cc 提交者: Diego Biurrun

Add all possible shared libraries to the pkg-config files.

patch by j -- at -- v2v -- dot -- cc

Originally committed as revision 4626 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 672cbd9a
......@@ -1773,10 +1773,15 @@ lavf_version=`grep '#define LIBAVFORMAT_VERSION ' "$source_path/libavformat/avfo
lavu_version=`grep '#define LIBAVUTIL_VERSION ' "$source_path/libavutil/avutil.h" | sed 's/[^0-9\.]//g'`
requires=
test "$dc1394" = "yes" && extralibs="$extralibs -ldc1394_control" && requires="$requires libraw1394"
test "$libgsm" = "yes" && extralibs="$extralibs -lgsm"
test "$libogg" = "yes" && requires="$requires ogg >= 1.1"
test "$vorbis" = "yes" && requires="$requires vorbis"
test "$mp3lame" = "yes" && extralibs="$extralibs -lmp3lame"
test "$theora" = "yes" && requires="$requires theora"
test "$faad" = "yes" && test "$faadbin" = "no" && extralibs="$extralibs -lfaad"
test "$faac" = "yes" && extralibs="$extralibs -lfaac"
test "$xvid" = "yes" && extralibs="$extralibs -lxvidcore"
# libavutil.pc
cat <<EOF >libavutil.pc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册