glthread: compile marshal_generated.c faster by breaking it up into 8 files
[mesa.git] / src / mapi / shared-glapi / meson.build
index ea97e1b943720da7541a008c228027a3ef341ae1..5b9db0c081a90acf6f5d6740492c23ca6899141b 100644 (file)
@@ -55,7 +55,9 @@ libglapi = shared_library(
   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,
 )
 
@@ -72,14 +74,14 @@ if with_any_opengl and with_tests
     ),
     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'],
     )