diff options
author | Eric Engestrom <[email protected]> | 2018-02-23 17:02:08 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-02-26 13:50:59 +0000 |
commit | 11d45304fd20bbdf07222830e76d3f9977e803b4 (patch) | |
tree | 8e5e9b3f516c5bcdd222677f1b8ccdd6b8b61052 /meson.build | |
parent | ef308d40070014b92aaf07a228edc73bd2e85570 (diff) |
*-symbol-check: use correct `nm` path when cross-compiling
Inspired-by: a similar patch for libdrm by Heiko Becker
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
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') |