Commit 05fd07f4 authored by Daniel Stone's avatar Daniel Stone Committed by Derek Foreman

wayland-egl: Ignore underscored symbols in ABI check

Rather than a hard-coded list of platform symbols, just ignore anything
prefaced with an underscore. This fixes breakage on ARM, which declares
several slightly different platform symbols to x86.
Signed-off-by: Daniel Stone's avatarDaniel Stone <>
Fixes: 21b1f22e ("wayland-egl: enhance the symbol test")
Cc: Emil Velikov <>
Reviewed-by: default avatarDerek Foreman <>
parent d3fe6262
......@@ -16,14 +16,6 @@ fi
AVAIL_FUNCS="$($NM -D --format=bsd --defined-only $LIB | awk '{print $3}')"
# Platform specific symbols.
# Official ABI, taken from the header.
......@@ -32,8 +24,8 @@ wl_egl_window_get_attached_size
NEW_ABI=$(echo "$AVAIL_FUNCS" | while read func; do
echo "$func" | grep -q "^_" && continue
echo "$REQ_FUNCS" | grep -q "^$func$" && continue
echo "$PLAT_FUNCS" | grep -q "^$func$" && continue
echo $func
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