From 62eb7a4bc8018e0674577e279d08a8dfbe76ef01 Mon Sep 17 00:00:00 2001 From: diego Date: Wed, 17 Aug 2005 23:08:18 +0000 Subject: [PATCH] Fix MEncoder build with shared libavcodec. patch by Panagiotis Issaris git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16252 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 1 + libmpcodecs/Makefile | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/configure b/configure index 72aeaf0d5f..15c5c615eb 100755 --- a/configure +++ b/configure @@ -7061,6 +7061,7 @@ AV_DEP = $_dep_libavutil $_dep_libavcodec $_dep_libavformat 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 --git a/libmpcodecs/Makefile b/libmpcodecs/Makefile index 909aef1907..370e1307d8 100644 --- a/libmpcodecs/Makefile +++ b/libmpcodecs/Makefile @@ -192,6 +192,10 @@ LIBAV_INC += -I../libavcodec 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