blob: 0ea2cca9dfcde7209f04a28f2947ddd24c89d0ad [file] [log] [blame]
Brad Bishopbba38f32018-08-23 16:11:46 +08001From 98e793d9f2250e7c1f9f1eb5dfd616a6a8829e9a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 3 Sep 2018 11:12:27 -0700
4Subject: [PATCH] gen_def
5
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08006This is partial port because half of this patch is already present in our
7patches
8
9Upstream-Status: Backport [https://github.com/apache/serf/commit/8f07c9626106873a594fd07e7c257e9080d8660b]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
Brad Bishopbba38f32018-08-23 16:11:46 +080011---
12 SConstruct | 2 ++
13 1 file changed, 2 insertions(+)
14
15diff --git a/SConstruct b/SConstruct
16index 571bdce..877731e 100644
17--- a/SConstruct
18+++ b/SConstruct
19@@ -158,6 +158,8 @@ env = Environment(variables=opts,
20 ENV = os.environ,
21 )
22
23+gen_def_script = env.File('build/gen_def.py').rstr()
24+
25 env.Append(BUILDERS = {
26 'GenDef' :
27 Builder(action = '"%s" "%s" $SOURCES > $TARGET' % (sys.executable, gen_def_script,),