aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/serf/serf/0003-gen_def.patch
blob: e37e9034b090e7c86bef88a2e39eaedeb87a3f5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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

---
 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,),