SAMBA_LIBARY()’s ‘keep_underscore’ parameter has an effect only if None
is passed in for ‘bundled_name’. However, SAMBA_PLUGIN() always passes
in a string for ‘bundled_name’. Therefore ‘keep_underscore’ will never
have any effect — remove it.
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
vars=None,
subdir=None,
realname=None,
- keep_underscore=False,
autoproto=None,
autoproto_extra_source='',
install_path=None,
cflags=cflags,
ldflags=ldflags,
realname=realname,
- keep_underscore=keep_underscore,
autoproto=autoproto,
autoproto_extra_source=autoproto_extra_source,
local_include=local_include,
if (Utils.unversioned_sys_platform() == 'linux' or (host_os.rfind('gnu') > -1)):
bld.SAMBA_PLUGIN('nss_winbind',
- keep_underscore=True,
cflags='-D_PUBLIC_ON_LINUX_=_PUBLIC_',
source='winbind_nss_linux.c',
deps='wbclient',
vnum='2')
bld.SAMBA3_PLUGIN('nss_wins',
- keep_underscore=True,
cflags='-D_PUBLIC_ON_LINUX_=_PUBLIC_',
source='wins.c',
deps='wbclient replace',