*-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:
@@ -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
|
||||
|
||||
@@ -55,6 +55,7 @@ if with_tests
|
||||
test(
|
||||
'es2-ABI-check',
|
||||
find_program('ABI-check'),
|
||||
env : env_test,
|
||||
args : libgles2
|
||||
)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user