summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2022-01-12 02:07:22 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2022-01-12 02:07:22 +0000
commit8ae83eba047e1fd0635fa401b9cee742626466ae (patch)
treeb946ff70a03960d3dfcb3abc8344a18ce03e9897
parent267bf906f85810f3d58dc23f08f73592ae405f26 (diff)
downloadlibapr-8ae83eba047e1fd0635fa401b9cee742626466ae.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