diff options
author | Eric Engestrom <[email protected]> | 2018-10-11 14:40:28 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-07-10 11:27:51 +0000 |
commit | 1172263c87232d9af5f35a8ea27705c4afb3b8a6 (patch) | |
tree | 0e60b738d657f8aaf2a81303e744eaac124a1123 /src/egl/meson.build | |
parent | 176f350fcf1d3024482c0307d2ce9eec836ad487 (diff) |
egl: use new symbols check script
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by Dylan Baker <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/meson.build')
-rw-r--r-- | src/egl/meson.build | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/egl/meson.build b/src/egl/meson.build index 97d79823b66..a6b66a06857 100644 --- a/src/egl/meson.build +++ b/src/egl/meson.build @@ -196,13 +196,17 @@ if with_tests and prog_nm.found() if with_glvnd # TODO: add glvnd symbol check else - test('egl-symbols-check', - find_program('egl-symbols-check'), - env : env_test, - args : libegl, - suite : ['egl'], - ) + egl_symbols = files('egl-symbols.txt') endif + test('egl-symbols-check', + symbols_check, + args : [ + '--lib', libegl, + '--symbols-file', egl_symbols, + '--nm', prog_nm.path(), + ], + suite : ['egl'], + ) test('egl-entrypoint-check', find_program('egl-entrypoint-check'), env : ['srcdir=' + meson.current_source_dir()], |