mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
52a9cf3435
commit
23c0634c78
@ -4,6 +4,10 @@ NAME=avdevice
|
|||||||
LIBVERSION=$(LAVDVERSION)
|
LIBVERSION=$(LAVDVERSION)
|
||||||
LIBMAJOR=$(LAVDMAJOR)
|
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
|
CFLAGS += -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavformat
|
||||||
|
|
||||||
OBJS = alldevices.o
|
OBJS = alldevices.o
|
||||||
|
Loading…
Reference in New Issue
Block a user