meson: make nm binary optional
[mesa.git] / src / mapi / es2api / meson.build
index 5b2c52b024dec16dfc54f4c79dc4cb74b75035a2..d374bd8084994ff7ea49c46a7a20484199798af2 100644 (file)
@@ -52,7 +52,7 @@ pkg.generate(
   libraries_private : gl_priv_libs,
 )
 
-if with_tests
+if with_tests and prog_nm.found()
   test(
     'es2-ABI-check',
     find_program('ABI-check'),