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