changeset 17733:4c4f5c73c152

use relative paths for libav* build absolute path in the command line can confuse ccache
author henry
date Sun, 05 Mar 2006 10:03:53 +0000
parents 4a8c4d03c88c
children 23d7db1970fe
files Makefile configure
diffstat 2 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Mar 05 08:55:08 2006 +0000
+++ b/Makefile	Sun Mar 05 10:03:53 2006 +0000
@@ -303,16 +303,16 @@
 	$(MAKE) -C loader/dmo
 
 libavutil/libavutil.a:
-	$(MAKE) -C libavutil LIBPREF=lib LIBSUF=.a
+	$(MAKE) -C libavutil LIBPREF=lib LIBSUF=.a SRC_PATH=..
 
 libavcodec/libavcodec.a:
-	$(MAKE) -C libavcodec LIBPREF=lib LIBSUF=.a
+	$(MAKE) -C libavcodec LIBPREF=lib LIBSUF=.a SRC_PATH=..
 
 libavcodec/libpostproc/libpostproc.a:
-	$(MAKE) -C libavcodec/libpostproc LIBPREF=lib LIBSUF=.a
+	$(MAKE) -C libavcodec/libpostproc LIBPREF=lib LIBSUF=.a SRC_PATH=../..
 
 libavformat/libavformat.a:
-	$(MAKE) -C libavformat LIBPREF=lib LIBSUF=.a
+	$(MAKE) -C libavformat LIBPREF=lib LIBSUF=.a SRC_PATH=..
 
 libmpeg2/libmpeg2.a:
 	$(MAKE) -C libmpeg2
--- a/configure	Sun Mar 05 08:55:08 2006 +0000
+++ b/configure	Sun Mar 05 10:03:53 2006 +0000
@@ -7249,7 +7249,6 @@
 HAVE_XVMC_ACCEL = $_xvmc
 
 # for FFmpeg
-SRC_PATH=`pwd`
 LIBPREF=lib
 LIBSUF=.a
 LIB=\$(LIBPREF)\$(NAME)\$(LIBSUF)