mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
waf: substitute '/' in -D static defines as well.
Tridge, please check. Guenther
This commit is contained in:
parent
e4bf69285b
commit
d08ddf08a8
@ -214,9 +214,11 @@ def add_init_functions(self):
|
||||
cflags = getattr(self, 'samba_cflags', [])[:]
|
||||
|
||||
if modules == []:
|
||||
cflags.append('-DSTATIC_%s_MODULES=%s' % (sname.replace('-','_'), sentinal))
|
||||
sname = sname.replace('-','_')
|
||||
sname = sname.replace('/','_')
|
||||
cflags.append('-DSTATIC_%s_MODULES=%s' % (sname, sentinal))
|
||||
if sentinal == 'NULL':
|
||||
cflags.append('-DSTATIC_%s_MODULES_PROTO' % sname.replace('-','_'))
|
||||
cflags.append('-DSTATIC_%s_MODULES_PROTO' % sname)
|
||||
self.ccflags = cflags
|
||||
return
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user