Fix io/ftwtest for relative objpfx

Andreas Schwab schwab@suse.de
Sun May 11 16:08:00 GMT 2003


2003-05-11  Andreas Schwab  <schwab@suse.de>

	* io/Makefile ($(objpfx)ftwtest.out): Use absolute file names.

--- io/Makefile.~1.47.~	2002-10-21 10:27:02.000000000 +0200
+++ io/Makefile	2003-05-11 13:45:28.000000000 +0200
@@ -83,5 +83,6 @@ ifeq ($(cross-compiling),no)
 tests: $(objpfx)ftwtest.out
 
 $(objpfx)ftwtest.out: $(objpfx)ftwtest
-	$(SHELL) -e ftwtest-sh $(common-objpfx) $(<D)/$(<F) > $@
+	$(SHELL) -e ftwtest-sh $(shell cd $(common-objpfx). && pwd)/ \
+		 $(shell cd $(<D) && pwd)/$(<F) > $@
 endif



More information about the Libc-hacker mailing list