summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-12-01 12:10:03 +0100
committerGünther Deschner <gd@samba.org>2010-12-01 18:39:14 +0100
commit133a2ffd006062c1e55e79a1ed4fb756b182a63c (patch)
tree0754ba967dc0e3ed3a392b2d9da71d43cdeb03ab /buildtools
parent56290d0b337e2e01b021e98d1252ae604cf5c0f8 (diff)
downloadsamba-133a2ffd006062c1e55e79a1ed4fb756b182a63c.tar.gz
samba-133a2ffd006062c1e55e79a1ed4fb756b182a63c.tar.bz2
samba-133a2ffd006062c1e55e79a1ed4fb756b182a63c.zip
s3-waf: avoid module name uppercasing.
This finally allows mixed case module names like the classic build (./configure --shared_modules=charset_CP850) Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 1 18:39:14 CET 2010 on sn-devel-104
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba3.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba3.py b/buildtools/wafsamba/samba3.py
index 9abb2abbec..5008abb949 100644
--- a/buildtools/wafsamba/samba3.py
+++ b/buildtools/wafsamba/samba3.py
@@ -25,14 +25,14 @@ Options.Handler.SAMBA3_ADD_OPTION = SAMBA3_ADD_OPTION
def SAMBA3_IS_STATIC_MODULE(bld, module):
'''Check whether module is in static list'''
- if module.lower() in bld.env['static_modules']:
+ if module in bld.env['static_modules']:
return True
return False
Build.BuildContext.SAMBA3_IS_STATIC_MODULE = SAMBA3_IS_STATIC_MODULE
def SAMBA3_IS_SHARED_MODULE(bld, module):
'''Check whether module is in shared list'''
- if module.lower() in bld.env['shared_modules']:
+ if module in bld.env['shared_modules']:
return True
return False
Build.BuildContext.SAMBA3_IS_SHARED_MODULE = SAMBA3_IS_SHARED_MODULE