build: replace SAMBA3_ADD_OPTION with samba_add_onoff_option
[amitay/samba.git] / buildtools / wafsamba / samba3.py
index 5375679c88fc077ae967e8d31898227e33fdbf28..5aab2509b2490ae1ac65afb90314e1b6db1c347e 100644 (file)
@@ -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']: