diff options
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()], |