# HG changeset patch # User diego # Date 1124320098 0 # Node ID ae5caba38b893c3a1768423fe3c146738fa01da9 # Parent 7df45743ee0678b7e90e201ee296011054680914 Fix MEncoder build with shared libavcodec. patch by Panagiotis Issaris diff -r 7df45743ee06 -r ae5caba38b89 configure --- a/configure Wed Aug 17 22:56:44 2005 +0000 +++ b/configure Wed Aug 17 23:08:18 2005 +0000 @@ -7061,6 +7061,7 @@ AV_LIB = $_ld_libavformat $_ld_libavcodec $_ld_libavutil CONFIG_LIBAVUTIL = $_libavutil_required CONFIG_LIBAVCODEC = $_libavcodec +CONFIG_LIBAVCODECSO = $_libavcodecso CONFIG_LIBAVFORMAT = $_libavformat ZORAN = $_zr FAME = $_fame diff -r 7df45743ee06 -r ae5caba38b89 libmpcodecs/Makefile --- a/libmpcodecs/Makefile Wed Aug 17 22:56:44 2005 +0000 +++ b/libmpcodecs/Makefile Wed Aug 17 23:08:18 2005 +0000 @@ -192,6 +192,10 @@ ENCODER_SRCS += ae_lavc.c endif +ifeq ($(CONFIG_LIBAVCODECSO),yes) +ENCODER_SRCS += ae_lavc.c +endif + ifeq ($(MUSEPACK),yes) AUDIO_SRCS += ad_mpc.c endif