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:07:22 UTC

svn commit: r1896934 - in /apr/apr/branches/1.7.x: ./ Makefile.in

Author: wrowe
Date: Wed Jan 12 02:07:22 2022
New Revision: 1896934

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

Modified:
    apr/apr/branches/1.7.x/   (props changed)
    apr/apr/branches/1.7.x/Makefile.in

Propchange: apr/apr/branches/1.7.x/
------------------------------------------------------------------------------
  Merged /apr/apr/trunk:r1896933

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