meson: make nm binary optional

Graphics / Mesa 3D Graphics Library / Mesa - Dylan Baker [pnwbakers.com] - 3 May 2019 17:58 EDT

This makes nm not required, but used if found. In general I imagine that this means that on windows nm wont be found, and on other platforms it will.

v2: - fix gbm and egl symbols check tests to only be run if nm is found- reword commit message to reflect the code change

ff9bf223c24 meson: make nm binary optional
meson.build | 5 ++++-
src/egl/meson.build | 2 +-
src/gbm/meson.build | 2 +-
src/mapi/es1api/meson.build | 2 +-
src/mapi/es2api/meson.build | 2 +-
5 files changed, 8 insertions(+), 5 deletions(-)

Upstream: cgit.freedesktop.org


  • Share