From c85ea84ae8a4a9ed3a933637d01bec2e4b3ee8f6 Mon Sep 17 00:00:00 2001 From: wrowe Date: Wed, 12 Jan 2022 02:04:58 +0000 Subject: Revert VPATH build breakage introduced in r1890191 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. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1896933 13f79535-47bb-0310-9956-ffa450edef68 --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index bbf531b3e..5f86b663d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -163,9 +163,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