[vlc-devel] commit: Only link avcodec with libavcodec, avformat with libavformat, swscale with libswscale, imgresample with libavcodec ( small hack include to fix AC_CHECK_LIB code), postproc with libpostproc. ( Antoine Cellerier )

Rafaël Carré funman at videolan.org
Tue Jun 3 21:59:25 CEST 2008


Le Tue, 3 Jun 2008 21:31:38 +0200,
Alexis Ballier <aballier at gentoo.org> a écrit :

> On Tue,  3 Jun 2008 15:59:16 +0200 (CEST)
> git at videolan.org (git version control) wrote:
> 
> > vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> |
> > Tue Jun  3 16:00:45 2008 +0200|
> > [425e7f204caa4ed2ae2dd77062cd18bd9c598702]
> > 
> > Only link avcodec with libavcodec, avformat with libavformat,
> > swscale with libswscale, imgresample with libavcodec 
> [...]
> 
> > -  PKG_CHECK_MODULES(AVCODEC,[libavcodec, libavutil],
> > +  PKG_CHECK_MODULES(AVCODEC,[libavcodec],
> 
> 
> Why this ? A quick grep shows me that some libavutil functions are in
> use there. A build with -z defs shows a build failure:

Should be fixed now

> Note that this only happens with latest ffmpeg trunk that has fixed
> its .pc files to put the Requires to Requires.private on libavutil 
> & friends so that you they don't make you link needlessly to other
> libs.

Cool

-- 
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080603/1c484739/attachment.sig>


More information about the vlc-devel mailing list