meson: move the generic symbols check arguments to a common variable
[mesa.git] / meson.build
index dcc4827fed7e18d67a4d53a453f6d4cb71ce955e..020f725116fbfe57d7047480d0cf121538392a81 100644 (file)
@@ -1682,6 +1682,7 @@ pkg = import('pkgconfig')
 
 prog_nm = find_program('nm', required : false)
 with_symbols_check = prog_nm.found() and with_tests
 
 prog_nm = find_program('nm', required : false)
 with_symbols_check = prog_nm.found() and with_tests
+symbols_check_args = ['--nm', prog_nm.path()]
 
 # This quirk needs to be applied to sources with functions defined in assembly
 # as GCC LTO drops them. See: https://bugs.freedesktop.org/show_bug.cgi?id=109391
 
 # This quirk needs to be applied to sources with functions defined in assembly
 # as GCC LTO drops them. See: https://bugs.freedesktop.org/show_bug.cgi?id=109391