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

Rémi Denis-Courmont remi at remlab.net
Sat Oct 3 20:28:57 CEST 2009


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.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list