aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Becker2018-02-19 09:13:15 -0600
committerEric Engestrom2018-02-23 11:53:08 -0600
commit4f08bfe96da1542f336589edf310d06ebce3cf20 (patch)
tree189d03ab810f7fba8993fcbab638cddae5f2bf3b /meson.build
parent009634e493097afae95d190fc26cb04a1664648a (diff)
downloadexternal-libgbm-4f08bfe96da1542f336589edf310d06ebce3cf20.tar.gz
external-libgbm-4f08bfe96da1542f336589edf310d06ebce3cf20.tar.xz
external-libgbm-4f08bfe96da1542f336589edf310d06ebce3cf20.zip
*-symbol-check: Don't hard-code nm executable
Helpful if your nm executable has a prefix based on the architecture, for example. Signed-off-by: Heiko Becker <heirecka@exherbo.org> Cc: Timo Gurr <timo.gurr@gmail.com> [Eric: v2: rebase and add Meson support] Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
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 f6b1a432..15a2b084 100644
--- a/meson.build
+++ b/meson.build
@@ -332,6 +332,9 @@ pkg.generate(
332 description : 'Userspace interface to kernel DRM services', 332 description : 'Userspace interface to kernel DRM services',
333) 333)
334 334
335env_test = environment()
336env_test.set('NM', find_program('nm').path())
337
335if with_libkms 338if with_libkms
336 subdir('libkms') 339 subdir('libkms')
337endif 340endif