[FFmpeg-cvslog] r11085 - trunk/libavdevice/Makefile

lucabe subversion
Fri Nov 23 13:55:50 CET 2007


Author: lucabe
Date: Fri Nov 23 13:55:50 2007
New Revision: 11085

Log:
Link libavdevice against libavutil, libavcodec, and libavformat
(fix compilation for non-ELF targets).


Modified:
   trunk/libavdevice/Makefile

Modified: trunk/libavdevice/Makefile
==============================================================================
--- trunk/libavdevice/Makefile	(original)
+++ trunk/libavdevice/Makefile	Fri Nov 23 13:55:50 2007
@@ -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




More information about the ffmpeg-cvslog mailing list