summaryrefslogtreecommitdiffstats
path: root/poky/meta/recipes-support/serf/serf/0003-gen_def.patch
blob: 0ea2cca9dfcde7209f04a28f2947ddd24c89d0ad (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
From 98e793d9f2250e7c1f9f1eb5dfd616a6a8829e9a Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 3 Sep 2018 11:12:27 -0700
Subject: [PATCH] gen_def

This is partial port because half of this patch is already present in our
patches

Upstream-Status: Backport [https://github.com/apache/serf/commit/8f07c9626106873a594fd07e7c257e9080d8660b]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 SConstruct | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/SConstruct b/SConstruct
index 571bdce..877731e 100644
--- a/SConstruct
+++ b/SConstruct
@@ -158,6 +158,8 @@ env = Environment(variables=opts,
                   ENV = os.environ,
                   )
 
+gen_def_script = env.File('build/gen_def.py').rstr()
+
 env.Append(BUILDERS = {
     'GenDef' : 
       Builder(action = '"%s" "%s" $SOURCES > $TARGET' % (sys.executable, gen_def_script,),
OpenPOWER on IntegriCloud