summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2022-01-12 02:04:58 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2022-01-12 02:04:58 +0000
commitc85ea84ae8a4a9ed3a933637d01bec2e4b3ee8f6 (patch)
treeddf7a953cece634a88e6c17cb388cf50c8cda01f
parent7edf721d836e53c598c145e13aaaa5e528ca1fd4 (diff)
downloadlibapr-c85ea84ae8a4a9ed3a933637d01bec2e4b3ee8f6.tar.gz
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
-rw-r--r--Makefile.in4
1 files 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