From 63928c82c1c5ed2fa3bab30976566a8a393ef8b4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 28 Sep 2010 09:00:26 +0200 Subject: ldb/tevent: Fix detection of waf paths. --- source4/lib/ldb/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/lib/ldb/Makefile') diff --git a/source4/lib/ldb/Makefile b/source4/lib/ldb/Makefile index f97ed34e3f..3f188a955f 100644 --- a/source4/lib/ldb/Makefile +++ b/source4/lib/ldb/Makefile @@ -1,6 +1,8 @@ # simple makefile wrapper to run waf -WAF=WAF_MAKE=1 ../../../buildtools/bin/waf +WAFPATH:=$(shell PATH=../../buildtools/bin:buildtools/bin:$(PATH) which waf) + +WAF=WAF_MAKE=1 $(WAFPATH) all: $(WAF) build -- cgit