Commit 2ba70f1f authored by Emil Velikov's avatar Emil Velikov Committed by Pekka Paalanen

wayland-egl: fail the symbol check if lib is missing

Based on a similar patch (in Mesa) by Eric Engestrom.

v2: Rebase on top of $NM patch
v3: Rebase

Reviewed-by: Eric Engestrom <> (v1)
Signed-off-by: Emil Velikov's avatarEmil Velikov <>
Reviewed-by: Daniel Stone's avatarDaniel Stone <>
parent 79cc3ad6
set -eu
FUNCS=$($NM -D --defined-only ${WAYLAND_EGL_LIB} | grep -o "T .*" | cut -c 3- | while read func; do
if [ ! -f "$LIB" ]; then
echo "The test binary \"$LIB\" does no exist"
exit 1
FUNCS=$($NM -D --defined-only $LIB | grep -o "T .*" | cut -c 3- | while read func; do
( grep -q "^$func$" || echo $func ) <<EOF
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment