mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ldb/tevent: Fix detection of waf paths.
This commit is contained in:
parent
4752d88fed
commit
63928c82c1
@ -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
|
||||
|
9
lib/tevent/configure
vendored
9
lib/tevent/configure
vendored
@ -2,7 +2,14 @@
|
||||
|
||||
PREVPATH=`dirname $0`
|
||||
|
||||
WAF=../../buildtools/bin/waf
|
||||
if [ -f $PREVPATH/../../buildtools/bin/waf ]; then
|
||||
WAF=../../buildtools/bin/waf
|
||||
elif [ -f $PREVPATH/buildtools/bin/waf ]; then
|
||||
WAF=./buildtools/bin/waf
|
||||
else
|
||||
echo "tevent: Unable to find waf"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# using JOBS=1 gives maximum compatibility with
|
||||
# systems like AIX which have broken threading in python
|
||||
|
@ -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
|
||||
|
9
source4/lib/ldb/configure
vendored
9
source4/lib/ldb/configure
vendored
@ -2,7 +2,14 @@
|
||||
|
||||
PREVPATH=`dirname $0`
|
||||
|
||||
WAF=../../../buildtools/bin/waf
|
||||
if [ -f $PREVPATH/../../../buildtools/bin/waf ]; then
|
||||
WAF=../../../buildtools/bin/waf
|
||||
elif [ -f $PREVPATH/buildtools/bin/waf ]; then
|
||||
WAF=./buildtools/bin/waf
|
||||
else
|
||||
echo "ldb: Unable to find waf"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# using JOBS=1 gives maximum compatibility with
|
||||
# systems like AIX which have broken threading in python
|
||||
|
Loading…
Reference in New Issue
Block a user