[PATCH libdrm v2] *-symbol-check: Don't hard-code nm executable

Emil Velikov emil.l.velikov at gmail.com
Fri Feb 23 00:25:27 UTC 2018


On 19 February 2018 at 16:35, Eric Engestrom <eric.engestrom at imgtec.com> wrote:
> From: Heiko Becker <heirecka at exherbo.org>
>
> Helpful if your nm executable has a prefix based on the
> architecture, for example.
>

> +env_test = environment()
> +env_test.set('NM', find_program('nm').path())
> +
Everything else is great, just not too sure about this hunk.
Are you sure it does what the commit message says?

I know meson needs special configuration file for cross compilation -
one example where nm has prefix.
Yet the manual [1] does not say anything about nm. I cannot find any
instances of nm in the docs all together :-\

If Meson does not handle it currently, please open a bug and add a
comment with the bug number/link.

Thanks
Emil
[1] http://mesonbuild.com/Cross-compilation.html


More information about the dri-devel mailing list