include_directories : incs_gbm,
c_args : [c_vis_args, args_gbm],
link_args : [ld_args_gc_sections],
- link_with : [libloader, libmesa_util, libxmlconfig],
- dependencies : [deps_gbm, dep_dl, dep_thread],
+ link_with : libloader,
+ dependencies : [deps_gbm, dep_dl, dep_thread, idep_mesautil, idep_xmlconfig],
version : '1.0.0',
install : true,
)
libraries_private : '-ldl', # FIXME: autotools lists this a incomplete
)
-if with_tests and prog_nm.found()
+if with_symbols_check
test(
'gbm-symbols-check',
symbols_check,
args : [
'--lib', libgbm,
'--symbols-file', files('gbm-symbols.txt'),
- '--nm', prog_nm.path(),
+ symbols_check_args,
],
suite : ['gbm'],
)