mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
wafsamba: assert for *.sigs source files in abi_build_vscript()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
33e6949dda
commit
3aff74e29e
@ -218,9 +218,12 @@ def abi_build_vscript(task):
|
||||
for f in task.inputs:
|
||||
fname = f.abspath(task.env)
|
||||
basename = os.path.basename(fname)
|
||||
version = basename[len(task.env.LIBNAME)+1:-len(".sigs")]
|
||||
versions.append(version)
|
||||
abi_process_file(fname, version, symmap)
|
||||
if basename.endswith(".sigs"):
|
||||
version = basename[len(task.env.LIBNAME)+1:-len(".sigs")]
|
||||
versions.append(version)
|
||||
abi_process_file(fname, version, symmap)
|
||||
continue
|
||||
raise Errors.WafError('Unsupported input "%s"' % fname)
|
||||
if task.env.PRIVATE_LIBRARY:
|
||||
# For private libraries we need to inject
|
||||
# each public symbol explicitly into the
|
||||
|
Loading…
Reference in New Issue
Block a user