link_args : [ld_args_gc_sections],
include_directories : [inc_src, inc_include, inc_mapi],
dependencies : [dep_thread, dep_selinux],
+ soversion : host_machine.system() == 'windows' ? '' : '0',
version : '0.0.0',
+ name_prefix : 'lib',
install : true,
)
),
suite : ['mapi'],
)
- if prog_nm.found()
+ if with_symbols_check
test(
'shared-glapi symbols check',
symbols_check,
args : [
'--lib', libglapi,
'--symbols-file', files('glapi-symbols.txt'),
- '--nm', prog_nm.path(),
+ symbols_check_args,
],
suite : ['mapi'],
)