diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2018-02-23 17:31:53 +0000 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2018-02-23 17:38:22 +0000 |
commit | 6903e4d5392563b36aabc8ebc69cb1a08dd2de0e (patch) | |
tree | 3c28b0d9709bd4bc2ee1de8466226ee208da03f6 /egl | |
parent | b02c4013e3c10d26c6afae675eec77a97c4c10ab (diff) | |
download | wayland-6903e4d5392563b36aabc8ebc69cb1a08dd2de0e.tar.gz |
wayland-egl: use correct `nm` path when cross-compiling
Inspired by Heiko Becker and Eric's work in libdrm and Mesa
respectively.
Cc: Eric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'egl')
-rwxr-xr-x | egl/wayland-egl-symbols-check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/egl/wayland-egl-symbols-check b/egl/wayland-egl-symbols-check index e107362..6ad28f3 100755 --- a/egl/wayland-egl-symbols-check +++ b/egl/wayland-egl-symbols-check @@ -1,6 +1,6 @@ #!/bin/sh -FUNCS=$(nm -D --defined-only ${WAYLAND_EGL_LIB} | grep -o "T .*" | cut -c 3- | while read func; do +FUNCS=$($NM -D --defined-only ${WAYLAND_EGL_LIB} | grep -o "T .*" | cut -c 3- | while read func; do ( grep -q "^$func$" || echo $func ) <<EOF wl_egl_window_resize wl_egl_window_create |