Commit 8658ee45 authored by vitor's avatar vitor

Fix avfilter compilation with --enable-shared and no libswscaler

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12340 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent abc90ce6
......@@ -12,9 +12,13 @@ OBJS = allfilters.o \
HEADERS = avfilter.h
EXTRALIBS := -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) \
-L$(BUILD_ROOT)/libswscale -lswscale$(BUILDSUF) \
-L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
ifeq ($(CONFIG_SWSCALER),yes)
EXTRALIBS+=-L$(BUILD_ROOT)/libswscale
EXTRALIBS+=-lswscale$(BUILDSUF)
endif
ifeq ($(CONFIG_AVFILTER_LAVF),yes)
EXTRALIBS := -L$(BUILD_ROOT)/libavformat -lavformat$(BUILDSUF) $(EXTRALIBS)
endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment