summaryrefslogtreecommitdiff
path: root/lib/tevent/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tevent/Makefile')
-rw-r--r--lib/tevent/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/tevent/Makefile b/lib/tevent/Makefile
index f6750fe65c..3f188a955f 100644
--- a/lib/tevent/Makefile
+++ b/lib/tevent/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