From 133a2ffd006062c1e55e79a1ed4fb756b182a63c Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 1 Dec 2010 12:10:03 +0100 Subject: s3-waf: avoid module name uppercasing. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This finally allows mixed case module names like the classic build (./configure --shared_modules=charset_CP850) Guenther Autobuild-User: Günther Deschner Autobuild-Date: Wed Dec 1 18:39:14 CET 2010 on sn-devel-104 --- buildtools/wafsamba/samba3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buildtools') 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 -- cgit