summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-02-23 17:02:08 +0000
committerEric Engestrom <[email protected]>2018-02-26 13:50:59 +0000
commit11d45304fd20bbdf07222830e76d3f9977e803b4 (patch)
tree8e5e9b3f516c5bcdd222677f1b8ccdd6b8b61052 /meson.build
parentef308d40070014b92aaf07a228edc73bd2e85570 (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.build3
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')