mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
buildtools: Work around a . being in the target name when building python3 helpers
The pyparam_util module becomes pyparam_util.cpython_35m_x86_64_linux_gnu but the command line parser for -D stops at the first . That we even set -DSTATIC_subsystem_MODULES_PROTO for these subsystems without any modules ever declared is left for another time Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
fe8bba5f81
commit
b7a5308612
@ -229,6 +229,7 @@ def add_init_functions(self):
|
||||
|
||||
if modules == []:
|
||||
sname = sname.replace('-','_')
|
||||
sname = sname.replace('.','_')
|
||||
sname = sname.replace('/','_')
|
||||
cflags.append('-DSTATIC_%s_MODULES=%s' % (sname, sentinel))
|
||||
if sentinel == 'NULL':
|
||||
|
Loading…
x
Reference in New Issue
Block a user