Set target_path to $(CURDIR)
authorMåns Rullgård <mans@mansr.com>
Sat, 30 Jan 2010 15:48:55 +0000 (15:48 +0000)
committerMåns Rullgård <mans@mansr.com>
Sat, 30 Jan 2010 15:48:55 +0000 (15:48 +0000)
CURDIR is updated by make -C, PWD is not.

Originally committed as revision 21542 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index f1b7bdd..ee021e2 100755 (executable)
--- a/configure
+++ b/configure
@@ -1449,7 +1449,7 @@ CC_O='-o $@'
 host_cflags='-D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -O3 -g -Wall'
 host_libs='-lm'
 
-target_path='$(PWD)'
+target_path='$(CURDIR)'
 
 # gcc stupidly only outputs the basename of targets with -MM, but we need the
 # full relative path for objects in subdirectories for non-recursive Make.