From 0f97e7e6b44fd87a0e705388f15bf8c618bb5e56 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Wed, 12 Jan 2022 02:07:22 +0000 Subject: Revert VPATH build breakage introduced in r1890192 Avoids the scenario; gcc tools/gen_test_char.c -o tools/gen_test_char gcc: error: tools/gen_test_char.c: No such file or directory gcc: fatal error: no input files Substitute the source tree path to this file rather that the target tree. Backports: r1896933 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x@1896934 13f79535-47bb-0310-9956-ffa450edef68 --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 7703e3fae..55fb13080 100644 --- a/Makefile.in +++ b/Makefile.in @@ -131,9 +131,9 @@ check: $(TARGET_LIB) etags: etags `find . -name '*.[ch]'` -tools/gen_test_char@EXEEXT@: tools/gen_test_char.c +tools/gen_test_char@EXEEXT@: $(top_srcdir)/tools/gen_test_char.c $(APR_MKDIR) tools - $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) tools/gen_test_char.c -o $@ + $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(top_srcdir)/tools/gen_test_char.c -o $@ include/private/apr_escape_test_char.h: tools/gen_test_char@EXEEXT@ $(APR_MKDIR) include/private -- cgit v1.2.1