summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorDavid Disseldorp via samba-technical <samba-technical@lists.samba.org>2019-01-30 17:13:47 +0100
committerNoel Power <npower@samba.org>2019-02-01 16:08:25 +0100
commitbdb90ec974b31a6430a2f2329364b01d6f7270c6 (patch)
tree3ff44778b5ab78fea9cf446cfa4beb9854461f36 /buildtools
parent545c3e6b12430f19ecd64d628e4f19e1556aa450 (diff)
downloadsamba-bdb90ec974b31a6430a2f2329364b01d6f7270c6.tar.gz
build: replace SAMBA3_ADD_OPTION with samba_add_onoff_option
The former is just an alias for the latter. samba_add_onoff_option() better describes what the function actually does, so use that and remove the alias. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Noel Power <npower@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba3.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/buildtools/wafsamba/samba3.py b/buildtools/wafsamba/samba3.py
index 5375679c88f..5aab2509b24 100644
--- a/buildtools/wafsamba/samba3.py
+++ b/buildtools/wafsamba/samba3.py
@@ -2,12 +2,10 @@
# and for SAMBA_ macros for building libraries, binaries etc
import os
-from waflib import Options, Build
+from waflib import Build
from samba_utils import os_path_relpath, TO_LIST
from samba_autoconf import library_flags
-Options.OptionsContext.SAMBA3_ADD_OPTION = Options.OptionsContext.samba_add_onoff_option
-
def SAMBA3_IS_STATIC_MODULE(bld, module):
'''Check whether module is in static list'''
if module in bld.env['static_modules']: