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 --- source3/wscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/wscript') diff --git a/source3/wscript b/source3/wscript index 510bed5749..2556ed6a09 100644 --- a/source3/wscript +++ b/source3/wscript @@ -390,14 +390,14 @@ return acl_get_perm_np(permset_d, perm); if p == "rpc": for entry in static_list[p]: decl_list += "extern NTSTATUS %s_init(const struct rpc_srv_callbacks *rpc_srv_cb); " % entry - conf.env[static_env].append('%s' % entry.upper()) + conf.env[static_env].append('%s' % entry) decl_list = decl_list.rstrip() conf.DEFINE('static_decl_%s' % p, decl_list) conf.DEFINE('static_init_%s' % p, '{ %s_init(NULL); }' % '_init(NULL); '.join(static_list[p])) else: for entry in static_list[p]: decl_list += "extern NTSTATUS %s_init(void); " % entry - conf.env[static_env].append('%s' % entry.upper()) + conf.env[static_env].append('%s' % entry) decl_list = decl_list.rstrip() conf.DEFINE('static_decl_%s' % p, decl_list) conf.DEFINE('static_init_%s' % p, '{ %s_init(); }' % '_init(); '.join(static_list[p])) @@ -407,7 +407,7 @@ return acl_get_perm_np(permset_d, perm); if p in shared_list: for entry in shared_list[p]: conf.DEFINE('%s_init' % entry, 'init_samba_module') - conf.env[shared_env].append('%s' % entry.upper()) + conf.env[shared_env].append('%s' % entry) if Options.options.with_winbind: conf.env.build_winbind = True -- cgit