summaryrefslogtreecommitdiff
path: root/source3/wscript
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 /source3/wscript
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 'source3/wscript')
-rw-r--r--source3/wscript6
1 files changed, 3 insertions, 3 deletions
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