Link libavdevice against libavutil, libavcodec, and libavformat
authorLuca Abeni <lucabe72@email.it>
Fri, 23 Nov 2007 12:55:50 +0000 (12:55 +0000)
committerLuca Abeni <lucabe72@email.it>
Fri, 23 Nov 2007 12:55:50 +0000 (12:55 +0000)
(fix compilation for non-ELF targets).

Originally committed as revision 11085 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavdevice/Makefile

index c926204..7d6e643 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