waf: Stop automaticaly changing dashes to underscores in library names.
[sfrench/samba-autobuild/.git] / buildtools / wafsamba / wafsamba.py
index 9682e2c29c8972a9d39a2e0b19d05c29a573a0c2..d533037b7f0315f47201068605bc59f38f9e7415 100644 (file)
@@ -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)