diff --git a/Makefile b/Makefile index 7d3f075e89..add8314583 100644 --- a/Makefile +++ b/Makefile @@ -58,7 +58,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 $(LDFLAGS) +LDFLAGS := -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libavutil $(LDFLAGS) EXTRALIBS := -lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS) ifeq ($(CONFIG_SWSCALER),yes)