summaryrefslogtreecommitdiffstats
path: root/src/apr-3.patch
blob: e19abc39191985b4aa2c70462171609cf3dfebde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
This file is part of MXE. See LICENSE.md for licensing information.

From 72ceb6351c8519ed48b21233246fc87f5dc8ee18 Mon Sep 17 00:00:00 2001
From: Timothy Gu <timothygu99@gmail.com>
Date: Thu, 13 Nov 2014 01:10:29 -0500
Subject: [PATCH] Make it possible to use another tools/gen_test_char

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
---
 Makefile.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index 6f99733..db08a1f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -137,9 +137,10 @@ tools/gen_test_char.lo: make_tools_dir
 tools/gen_test_char@EXEEXT@: $(OBJECTS_gen_test_char)
 	$(LINK_PROG) $(OBJECTS_gen_test_char) $(ALL_LIBS)
 
+GEN_TEST_CHAR ?= tools/gen_test_char@EXEEXT@
 include/private/apr_escape_test_char.h: tools/gen_test_char@EXEEXT@
 	$(APR_MKDIR) include/private
-	tools/gen_test_char@EXEEXT@ > $@
+	$(GEN_TEST_CHAR) > $@
 
 LINK_PROG = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) $(LT_LDFLAGS) \
 	    @LT_NO_INSTALL@ $(ALL_LDFLAGS) -o $@
-- 
1.9.1