[vlc-devel] [PATCH 18/23] HACK: configure: tell pkg-config that we link FFmpeg statically

Rafaël Carré rafael.carre at gmail.com
Sun Oct 4 00:33:39 CEST 2009


On Sat, 3 Oct 2009 21:28:57 +0300
"Rémi Denis-Courmont" <remi at remlab.net> wrote:

> Le samedi 3 octobre 2009 21:11:31 Rafaël Carré, vous avez écrit :
> > Le 03/10/2009 19:52, Rémi Denis-Courmont a écrit :
> > > ---
> > >  configure.ac |   10 +++++-----
> > >  1 files changed, 5 insertions(+), 5 deletions(-)
> > >
> > > diff --git a/configure.ac b/configure.ac
> > > index 7253713..4bce688 100644
> > > --- a/configure.ac
> > > +++ b/configure.ac
> > > @@ -2928,7 +2928,7 @@ then
> > >        AC_CHECK_HEADERS(libavcodec/avcodec.h ffmpeg/avcodec.h)
> > >        AC_CHECK_HEADERS(libavutil/avutil.h ffmpeg/avutil.h)
> > >        VLC_ADD_PLUGIN([avcodec])
> > > -      VLC_ADD_LIBS([avcodec],[$AVCODEC_LIBS])
> > > +      VLC_ADD_LIBS([avcodec],[`${PKG_CONFIG} --libs libavcodec
> > > libavutil --static`])
> > 
> > Why ?
> > 
> > Can't you just build ffmpeg with --disable-shared ?
> 
> And how do I install it? Maemo is not Debian. It does NOT have FFmpeg 
> packages.

Don't you use the binaries from extras/contribs ?

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


More information about the vlc-devel mailing list