summaryrefslogtreecommitdiffstats
path: root/meta-openembedded/meta-networking/recipes-support/libtdb/libtdb/0001-Makefile-fix-problem-that-waf-cannot-found.patch
blob: 10f2ef84d3243c458303baff67d784b1114a4b20 (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
32
33
34
35
From 7205761d654636a6c1fad03a3ca40d38e253e192 Mon Sep 17 00:00:00 2001
From: Changqing Li <changqing.li@windriver.com>
Date: Fri, 25 Jan 2019 16:01:07 +0800
Subject: [PATCH] Makefile: fix problem that waf cannot found

tdb is subfolder of samba, but it can also build independently.
so both path need to be added into PATH

Upsteam-Status: Inappropriate [oe specific]

Fix reject by upstream since upsteam need to support both python2/3,
so drop add append PATH. refer link:
https://gitlab.com/samba-team/samba/merge_requests/209
https://gitlab.com/samba-team/samba/merge_requests/211

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 3e70146..64bb393 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 # simple makefile wrapper to run waf
 
-WAF_BINARY=$(PYTHON) ../../buildtools/bin/waf
+WAF_BINARY=PATH=buildtools/bin:../../buildtools/bin:$$PATH waf
 WAF=PYTHONHASHSEED=1 WAF_MAKE=1 $(WAF_BINARY)
 
 all:
-- 
2.7.4

OpenPOWER on IntegriCloud