From 23c0634c784cf351ae692eb2e54cf0eb167ad02e Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Fri, 23 Nov 2007 12:55:50 +0000 Subject: [PATCH] Link libavdevice against libavutil, libavcodec, and libavformat (fix compilation for non-ELF targets). Originally committed as revision 11085 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavdevice/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavdevice/Makefile b/libavdevice/Makefile index c9262045f5..7d6e64371b 100644 --- a/libavdevice/Makefile +++ b/libavdevice/Makefile @@ -4,6 +4,10 @@ NAME=avdevice LIBVERSION=$(LAVDVERSION) LIBMAJOR=$(LAVDMAJOR) +EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) \ + -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) \ + -L$(BUILD_ROOT)/libavformat -lavformat$(BUILDSUF) $(EXTRALIBS) + CFLAGS += -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavformat OBJS = alldevices.o