Consistently use $(BUILD_ROOT).
authorDiego Biurrun <diego@biurrun.de>
Sun, 15 Oct 2006 12:57:47 +0000 (12:57 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 15 Oct 2006 12:57:47 +0000 (12:57 +0000)
Originally committed as revision 6699 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile

index 7d3f075..add8314 100644 (file)
--- 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)