mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
wafsamba: replace dots in library names
Certain libraries use a version number with a dot in the library name, eg libtracker-sparql-0.16. The dot is passed to the HAVE_LIBXXX macro but dots aren't allowed in C macros, compiler diagnostic: warning: missing whitespace after the macro name Signed-off-by: Ralph Boehme <rb@sernet.de> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
committed by
Jeremy Allison
parent
9d91f01b7b
commit
85041c88d8
@ -567,7 +567,7 @@ int foo()
|
||||
if set_target:
|
||||
SET_TARGET_TYPE(conf, lib, 'EMPTY')
|
||||
else:
|
||||
conf.define('HAVE_LIB%s' % lib.upper().replace('-','_'), 1)
|
||||
conf.define('HAVE_LIB%s' % lib.upper().replace('-','_').replace('.','_'), 1)
|
||||
conf.env['LIB_' + lib.upper()] = lib
|
||||
if set_target:
|
||||
conf.SET_TARGET_TYPE(lib, 'SYSLIB')
|
||||
|
Reference in New Issue
Block a user