Use consistent paths for adding values to LDFLAGS.
authorDiego Biurrun <diego@biurrun.de>
Sun, 10 Jun 2007 21:19:15 +0000 (21:19 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 10 Jun 2007 21:19:15 +0000 (21:19 +0000)
Originally committed as revision 9276 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile

index 4432e78..7cd5a05 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ LDFLAGS := -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT
 EXTRALIBS := -lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS)
 
 ifeq ($(CONFIG_SWSCALER),yes)
-LDFLAGS+=-L./libswscale
+LDFLAGS+=-L$(BUILD_ROOT)/libswscale
 EXTRALIBS+=-lswscale$(BUILDSUF)
 endif