meson: add variable to control the symbols checks
[mesa.git] / src / mapi / shared-glapi / meson.build
index 7d0fe115d63f92d6834830d07cf559b026934d81..27ae6bcc158ae5613a68684bc4a407b3b829397a 100644 (file)
@@ -74,7 +74,7 @@ if with_any_opengl and with_tests
     ),
     suite : ['mapi'],
   )
-  if prog_nm.found()
+  if with_symbols_check
     test(
       'shared-glapi symbols check',
       symbols_check,