summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2022-01-12 02:07:22 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2022-01-12 02:07:22 +0000
commit0f97e7e6b44fd87a0e705388f15bf8c618bb5e56 (patch)
treeb946ff70a03960d3dfcb3abc8344a18ce03e9897
parent012fd3e00196e4c6f8132ac8c8c4b614ae291dfd (diff)
downloadapr-0f97e7e6b44fd87a0e705388f15bf8c618bb5e56.tar.gz
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
-rw-r--r--Makefile.in4
1 files 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