From 11d45304fd20bbdf07222830e76d3f9977e803b4 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 23 Feb 2018 17:02:08 +0000 Subject: *-symbol-check: use correct `nm` path when cross-compiling Inspired-by: a similar patch for libdrm by Heiko Becker Signed-off-by: Eric Engestrom Reviewed-by: Emil Velikov --- meson.build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 8cf67b81715..6f2615f9d17 100644 --- a/meson.build +++ b/meson.build @@ -1256,6 +1256,9 @@ endif pkg = import('pkgconfig') +env_test = environment() +env_test.set('NM', find_program('nm').path()) + subdir('include') subdir('bin') subdir('src') -- cgit v1.2.3