1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

ctdb/wscript: update to handle waf 2.0.4

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Alexander Bokovoy 2018-02-02 16:34:30 +02:00 committed by Andrew Bartlett
parent 4e65b33c1d
commit 65074d8901

View File

@ -12,7 +12,8 @@ while not os.path.exists(srcdir+'/buildtools') and len(srcdir.split('/')) < 5:
srcdir = srcdir + '/..'
sys.path.insert(0, srcdir + '/buildtools/wafsamba')
import wafsamba, samba_dist, Options, Logs, Utils
from waflib import Options, Logs, Utils
import wafsamba, samba_dist
import samba_utils, samba_version
env = samba_utils.LOAD_ENVIRONMENT()
@ -65,7 +66,7 @@ manpages_ceph = [
]
def set_options(opt):
def options(opt):
opt.PRIVATE_EXTENSION_DEFAULT('ctdb')
opt.RECURSE('lib/replace')