git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PY3: switch current build to use python3
[sfrench/samba-autobuild/.git]
/
lib
/
replace
/
Makefile
diff --git
a/lib/replace/Makefile
b/lib/replace/Makefile
index 364990153e5374aa238073425f896879303cfad3..923605f9a134e6070616fdd1e0f82821487b4887 100644
(file)
--- a/
lib/replace/Makefile
+++ b/
lib/replace/Makefile
@@
-1,6
+1,8
@@
# simple makefile wrapper to run waf
-WAF=WAF_MAKE=1 PATH=buildtools/bin:../../buildtools/bin:$$PATH waf
+PYTHON?=python3
+WAF_BINARY=$(PYTHON) ../../buildtools/bin/waf
+WAF=WAF_MAKE=1 $(WAF_BINARY)
all:
$(WAF) build