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
pull/126/head
Panagiotis Issaris 19 years ago committed by Diego Biurrun
parent 6de9e50649
commit 8dc6f118b7
  1. 2
      Makefile

@ -59,7 +59,7 @@ endif
OBJS = ffmpeg.o ffserver.o cmdutils.o ffplay.o
SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s)
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)
LDFLAGS+=-L./libswscale

Loading…
Cancel
Save