*-symbol-check: use correct nm path when cross-compiling

Inspired-by: a similar patch for libdrm by Heiko Becker
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
Eric Engestrom
2018-02-23 17:02:08 +00:00
parent ef308d4007
commit 11d45304fd
12 changed files with 14 additions and 6 deletions

View File

@@ -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')