Module: Mesa Branch: main Commit: 80160a67ab1700aabfcc0aa2c58b0fc73fdbd925 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=80160a67ab1700aabfcc0aa2c58b0fc73fdbd925
Author: Michel Zou <[email protected]> Date: Fri Jul 30 13:25:26 2021 +0200 meson: dont use missing dumpbin path Reviewed-by: Dylan Baker <[email protected]> Cc: 21.2 mesa-stable Closes #5142 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12139> --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 9c968a3bcbb..96a660d849a 100644 --- a/meson.build +++ b/meson.build @@ -2112,7 +2112,9 @@ pkg = import('pkgconfig') if host_machine.system() == 'windows' prog_dumpbin = find_program('dumpbin', required : false) with_symbols_check = prog_dumpbin.found() and with_tests - symbols_check_args = ['--dumpbin', prog_dumpbin.path()] + if with_symbols_check + symbols_check_args = ['--dumpbin', prog_dumpbin.path()] + endif else prog_nm = find_program('nm') with_symbols_check = with_tests
