diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-03-05 18:26:44 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-03-05 18:26:44 +0000 |
commit | ea28ecb093e6d1e1bc7906f944531a2d3c4ab909 (patch) | |
tree | 648a1e7ba29b9173798797ceb46b4ae863467159 /libavfilter | |
parent | 5a4334618c309affd13fe62dd54850de0f2c8bb2 (diff) | |
download | ffmpeg-streaming-ea28ecb093e6d1e1bc7906f944531a2d3c4ab909.zip ffmpeg-streaming-ea28ecb093e6d1e1bc7906f944531a2d3c4ab909.tar.gz |
Fix avfilter compilation with --enable-shared and no libswscaler
Originally committed as revision 12340 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavfilter/Makefile b/libavfilter/Makefile index 38f5a2c..6af64ba 100644 --- a/libavfilter/Makefile +++ b/libavfilter/Makefile @@ -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 |