diff options
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r-- | buildtools/wafsamba/samba3.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba3.py b/buildtools/wafsamba/samba3.py index 9f9bc09cbc..af8ddf7106 100644 --- a/buildtools/wafsamba/samba3.py +++ b/buildtools/wafsamba/samba3.py @@ -9,7 +9,7 @@ def SAMBA3_ADD_OPTION(opt, option, help=(), dest=None, default=True, if help == (): help = ("Build with %s support" % option) if dest is None: - dest = "with_%s" % option + dest = "with_%s" % option.replace('-', '_') with_val = "--%s-%s" % (with_name, option) without_val = "--%s-%s" % (without_name, option) |