[Ffmpeg-devel] Bug: libav*.pc files broken
Christophe Mutricy
xtophe
Tue Jul 25 21:16:40 CEST 2006
Le mar 25 jui 06 ? 21:03 +0200, Ulrich von Zadow a ?crit :
> Hi,
>
> ffmpeg produces broken libav*.pc files under mac os x. For instance,
> libavformat.pc looks like this:
>
> prefix=/Users/uzadow/libavg
> exec_prefix=${PREFIX}
> libdir=${exec_prefix}/lib
> includedir=${PREFIX}/include
>
> Name: libavformat
> Description: FFmpeg container format library
> Version: 50.5.0
> Requires: libavcodec = 51.10.0
> Conflicts:
> Libs: -L${libdir} -lavformat -lz
> Cflags: -I${includedir} -I${includedir}/ffmpeg
>
> Note the all-capital PREFIX in lines 2 and 4. As a consequence,
> "pkg-config --libs libavformat" simply outputs "Variable 'PREFIX' not
> defined in '/Users/uzadow/libavg/lib/pkgconfig/libavformat.pc'"
Here's the patch we have in VLC contrib system:
https://trac.videolan.org/vlc/browser/trunk/extras/contrib/src/Patches/ffmpeg-svn.patch.
By coincidence i was reviewing the various patches and planned to send
this one at some point of the evening.
--
Xtophe
More information about the ffmpeg-devel
mailing list