mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 09:12:33 +00:00
Fix avfilter compilation with --enable-shared and no libswscaler
Originally committed as revision 12340 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5a4334618c
commit
ea28ecb093
@ -12,9 +12,13 @@ OBJS = allfilters.o \
|
|||||||
HEADERS = avfilter.h
|
HEADERS = avfilter.h
|
||||||
|
|
||||||
EXTRALIBS := -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) \
|
EXTRALIBS := -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) \
|
||||||
-L$(BUILD_ROOT)/libswscale -lswscale$(BUILDSUF) \
|
|
||||||
-L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
|
-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)
|
ifeq ($(CONFIG_AVFILTER_LAVF),yes)
|
||||||
EXTRALIBS := -L$(BUILD_ROOT)/libavformat -lavformat$(BUILDSUF) $(EXTRALIBS)
|
EXTRALIBS := -L$(BUILD_ROOT)/libavformat -lavformat$(BUILDSUF) $(EXTRALIBS)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user