Add -lav* to the front of LDFLAGS, fixes linking on Linux.
patch by Panagiotis Issaris, takis.issaris uhasselt be Originally committed as revision 6204 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6de9e50649
commit
8dc6f118b7
2
Makefile
2
Makefile
@ -59,7 +59,7 @@ endif
|
|||||||
OBJS = ffmpeg.o ffserver.o cmdutils.o ffplay.o
|
OBJS = ffmpeg.o ffserver.o cmdutils.o ffplay.o
|
||||||
SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s)
|
SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s)
|
||||||
LDFLAGS += -L./libavformat -L./libavcodec -L./libavutil
|
LDFLAGS += -L./libavformat -L./libavcodec -L./libavutil
|
||||||
EXTRALIBS += -lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lavutil$(BUILDSUF)
|
EXTRALIBS := -lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS)
|
||||||
|
|
||||||
ifeq ($(CONFIG_SWSCALER),yes)
|
ifeq ($(CONFIG_SWSCALER),yes)
|
||||||
LDFLAGS+=-L./libswscale
|
LDFLAGS+=-L./libswscale
|
||||||
|
Loading…
x
Reference in New Issue
Block a user