summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-24 11:26:09 -0700
committerJelmer Vernooij <jelmer@samba.org>2010-10-26 10:17:18 -0700
commita74e8be6d1448f121181e6d7cca3841891321a12 (patch)
tree652b0f2e54a666ce94e94db76e460f18673e4e98 /buildtools/wafsamba
parente4d9e974da730ef7a5ac5a33797652720d40ccb9 (diff)
downloadsamba-a74e8be6d1448f121181e6d7cca3841891321a12.tar.gz
samba-a74e8be6d1448f121181e6d7cca3841891321a12.tar.bz2
samba-a74e8be6d1448f121181e6d7cca3841891321a12.zip
waf: Stop automaticaly changing dashes to underscores in library names.
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/wafsamba.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 9682e2c29c..d533037b7f 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -174,8 +174,7 @@ def SAMBA_LIBRARY(bld, libname, source,
raise Utils.WafError("public library '%s' must have a vnum" % libname)
if target_type == 'PYTHON' or realname or not private_library:
- # Sanitize the library name
- bundled_name = libname.lower().replace('_', '-')
+ bundled_name = libname.replace('_', '-')
else:
bundled_name = PRIVATE_NAME(bld, libname, bundled_extension, private_library)