Revision 88ad0368 Makefile

View differences:

Makefile
72 72

  
73 73
VHOOKCFLAGS += $(VHOOKCFLAGS-yes)
74 74

  
75
LDFLAGS := -L$(BUILD_ROOT)/libavdevice -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libavutil -g $(LDFLAGS)
76
EXTRALIBS := -lavdevice$(BUILDSUF) -lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS)
75
LDFLAGS-$(CONFIG_SWSCALE) += -L$(BUILD_ROOT)/libswscale
76
LDFLAGS-$(CONFIG_AVFILTER) += -L$(BUILD_ROOT)/libavfilter
77
LDFLAGS := $(LDFLAGS-yes) -L$(BUILD_ROOT)/libavdevice -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libavutil -g $(LDFLAGS)
77 78

  
78
ifeq ($(CONFIG_SWSCALE),yes)
79
LDFLAGS+=-L$(BUILD_ROOT)/libswscale
80
EXTRALIBS+=-lswscale$(BUILDSUF)
81
endif
82

  
83
ifeq ($(CONFIG_AVFILTER),yes)
84
LDFLAGS+=-L$(BUILD_ROOT)/libavfilter
85
EXTRALIBS := -lavfilter$(BUILDSUF) $(EXTRALIBS)
86
endif
79
EXTRALIBS-$(CONFIG_AVFILTER) += -lavfilter$(BUILDSUF)
80
EXTRALIBS-$(CONFIG_SWSCALE) += -lswscale$(BUILDSUF)
81
EXTRALIBS := $(EXTRALIBS-yes) -lavdevice$(BUILDSUF) -lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS)
87 82

  
88 83
MAKE-yes = $(MAKE)
89 84
MAKE-    = : $(MAKE)

Also available in: Unified diff