diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2017-10-10 14:43:49 +0100 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2018-02-09 17:31:03 +0000 |
commit | 85cb5ed64aa8246f4da93fc5b76dfc34096bf803 (patch) | |
tree | c6d273f5b9b3d8f4bcb662c475b57137af85b7ca | |
parent | 1fcb4d1387e2a40ed8cd35b11a7788de52b9cdb9 (diff) | |
download | wayland-85cb5ed64aa8246f4da93fc5b76dfc34096bf803.tar.gz |
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>
-rw-r--r-- | Makefile.am | 1 | ||||
-rwxr-xr-x | egl/wayland-egl-symbols-check | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 1e934fe..deafc04 100644 --- a/Makefile.am +++ b/Makefile.am @@ -191,6 +191,7 @@ AM_TESTS_ENVIRONMENT = \ export WAYLAND_SCANNER='$(top_builddir)/wayland-scanner' \ TEST_DATA_DIR='$(top_srcdir)/tests/data' \ TEST_OUTPUT_DIR='$(top_builddir)/tests/output' \ + WAYLAND_EGL_LIB='$(top_builddir)/egl/.libs/libwayland-egl.so' \ SED=$(SED) \ ; diff --git a/egl/wayland-egl-symbols-check b/egl/wayland-egl-symbols-check index e7105ea..e107362 100755 --- a/egl/wayland-egl-symbols-check +++ b/egl/wayland-egl-symbols-check @@ -1,6 +1,6 @@ #!/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 wl_egl_window_resize wl_egl_window_create |