Link libavdevice against libavutil, libavcodec, and libavformat
[ffmpeg.git] / libavdevice / Makefile
index c9262045f5fa09437aa4071b21427e3b87dcd6c6..7d6e64371ba5e66700c476793a8730c69aa54ea3 100644 (file)
@@ -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