Mesa (main): meson: dont use missing dumpbin path

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Aug 1 23:57:19 UTC 2021


Module: Mesa
Branch: main
Commit: 80160a67ab1700aabfcc0aa2c58b0fc73fdbd925
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=80160a67ab1700aabfcc0aa2c58b0fc73fdbd925

Author: Michel Zou <xantares09 at hotmail.com>
Date:   Fri Jul 30 13:25:26 2021 +0200

meson: dont use missing dumpbin path

Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
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



More information about the mesa-commit mailing list