You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2022/01/12 02:04:58 UTC

svn commit: r1896933 - /apr/apr/trunk/Makefile.in

Author: wrowe
Date: Wed Jan 12 02:04:58 2022
New Revision: 1896933

URL: http://svn.apache.org/viewvc?rev=1896933&view=rev
Log:
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.

Modified:
    apr/apr/trunk/Makefile.in

Modified: apr/apr/trunk/Makefile.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/Makefile.in?rev=1896933&r1=1896932&r2=1896933&view=diff
==============================================================================
--- apr/apr/trunk/Makefile.in (original)
+++ apr/apr/trunk/Makefile.in Wed Jan 12 02:04:58 2022
@@ -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