summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba3.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba3.py b/buildtools/wafsamba/samba3.py
index af8ddf7106..5fa4c0fa74 100644
--- a/buildtools/wafsamba/samba3.py
+++ b/buildtools/wafsamba/samba3.py
@@ -14,6 +14,8 @@ def SAMBA3_ADD_OPTION(opt, option, help=(), dest=None, default=True,
with_val = "--%s-%s" % (with_name, option)
without_val = "--%s-%s" % (without_name, option)
+ #FIXME: This is broken and will always default to "default" no matter if
+ # --with or --without is chosen.
opt.add_option(with_val, help=help, action="store_true", dest=dest,
default=default)
opt.add_option(without_val, help=SUPPRESS_HELP, action="store_false",