mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-28 05:40:14 -04:00
wayland-egl-symbols-check: pass the DSO name via the build system
The location of the file is build system specific so, keep it there. Cc: Daniel Stone <daniels@collabora.com> Suggested-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Arnaud Vrac <avrac@freebox.fr>
This commit is contained in:
parent
1fcb4d1387
commit
85cb5ed64a
2 changed files with 2 additions and 1 deletions
|
|
@ -191,6 +191,7 @@ AM_TESTS_ENVIRONMENT = \
|
||||||
export WAYLAND_SCANNER='$(top_builddir)/wayland-scanner' \
|
export WAYLAND_SCANNER='$(top_builddir)/wayland-scanner' \
|
||||||
TEST_DATA_DIR='$(top_srcdir)/tests/data' \
|
TEST_DATA_DIR='$(top_srcdir)/tests/data' \
|
||||||
TEST_OUTPUT_DIR='$(top_builddir)/tests/output' \
|
TEST_OUTPUT_DIR='$(top_builddir)/tests/output' \
|
||||||
|
WAYLAND_EGL_LIB='$(top_builddir)/egl/.libs/libwayland-egl.so' \
|
||||||
SED=$(SED) \
|
SED=$(SED) \
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
FUNCS=$(nm -D --defined-only ${1-.libs/libwayland-egl.so} | grep -o "T .*" | cut -c 3- | while read func; do
|
FUNCS=$(nm -D --defined-only ${WAYLAND_EGL_LIB} | grep -o "T .*" | cut -c 3- | while read func; do
|
||||||
( grep -q "^$func$" || echo $func ) <<EOF
|
( grep -q "^$func$" || echo $func ) <<EOF
|
||||||
wl_egl_window_resize
|
wl_egl_window_resize
|
||||||
wl_egl_window_create
|
wl_egl_window_create
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue