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

Rafaël Carré rafael.carre at gmail.com
Sat Oct 3 20:11:31 CEST 2009


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 ?

-- 
Rafaël Carré

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091003/afc2d90d/attachment.sig>


More information about the vlc-devel mailing list