From: Michel Zou Date: Fri, 30 Jul 2021 11:25:26 +0000 (+0200) Subject: meson: dont use missing dumpbin path X-Git-Tag: upstream/22.3.5~19657 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80160a67ab1700aabfcc0aa2c58b0fc73fdbd925;p=platform%2Fupstream%2Fmesa.git meson: dont use missing dumpbin path Reviewed-by: Dylan Baker Cc: 21.2 mesa-stable Closes #5142 Part-of: --- diff --git a/meson.build b/meson.build index 9c968a3..96a660d 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