From 11d45304fd20bbdf07222830e76d3f9977e803b4 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 23 Feb 2018 17:02:08 +0000 Subject: *-symbol-check: use correct `nm` path when cross-compiling Inspired-by: a similar patch for libdrm by Heiko Becker Signed-off-by: Eric Engestrom Reviewed-by: Emil Velikov --- src/mapi/es2api/ABI-check | 2 +- src/mapi/es2api/meson.build | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mapi/es2api') diff --git a/src/mapi/es2api/ABI-check b/src/mapi/es2api/ABI-check index 7bc78480f76..a04b03d7d60 100755 --- a/src/mapi/es2api/ABI-check +++ b/src/mapi/es2api/ABI-check @@ -23,7 +23,7 @@ then exit 1 fi -FUNCS=$(nm -D --defined-only $LIB | grep -o 'T gl.*' | cut -c 3- | while read func; do +FUNCS=$($NM -D --defined-only $LIB | grep -o 'T gl.*' | cut -c 3- | while read func; do ( grep -q "^$func$" || echo $func ) <