*-symbol-check: use correct nm path when cross-compiling

Inspired-by: a similar patch for libdrm by Heiko Becker
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
Eric Engestrom
2018-02-23 17:02:08 +00:00
parent ef308d4007
commit 11d45304fd
12 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -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 ) <<EOF
glActiveShaderProgram
glActiveTexture
+1
View File
@@ -55,6 +55,7 @@ if with_tests
test(
'es2-ABI-check',
find_program('ABI-check'),
env : env_test,
args : libgles2
)
endif