summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/Makefile')
-rw-r--r--source4/lib/ldb/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/lib/ldb/Makefile b/source4/lib/ldb/Makefile
index 3d0d8e4938..da05bcfb6d 100644
--- a/source4/lib/ldb/Makefile
+++ b/source4/lib/ldb/Makefile
@@ -1,8 +1,6 @@
# simple makefile wrapper to run waf
-WAFPATH:=$(shell PATH=../../../buildtools/bin:buildtools/bin:$(PATH) which waf)
-
-WAF=WAF_MAKE=1 $(WAFPATH)
+WAF=WAF_MAKE=1 PATH=buildtools/bin:../../../buildtools/bin:$$PATH waf
all:
$(WAF) build