summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-04-30 14:21:28 +0200
committerKai Blin <kai@samba.org>2010-05-20 22:16:14 +0200
commitb2431163fccb996b390acbfd65d29d39f92b4679 (patch)
treec33e36581d77bea87950a072b9d21a595ecd5316 /buildtools/wafsamba
parentbe712a8eea486d493d6e0c924d1d8e13312a52af (diff)
downloadsamba-b2431163fccb996b390acbfd65d29d39f92b4679.tar.gz
samba-b2431163fccb996b390acbfd65d29d39f92b4679.tar.bz2
samba-b2431163fccb996b390acbfd65d29d39f92b4679.zip
s3-waf: replace all - with _ in the configuration option names
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba3.py2
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)