From 66dd53584e223f1e83e24349f26c7d9a4812faa3 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 29 Oct 2019 21:43:22 +0000 Subject: [PATCH] meson: require `nm` again on Unix systems This was made optional in ff9bf223c24143260a97 ("meson: make nm binary optional") for Windows, but proper windows has been added and `nm` is now only used on Unix systems. Signed-off-by: Eric Engestrom Reviwed-by: Dylan Baker --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 796b628e5eb..457cc0c5fdc 100644 --- a/meson.build +++ b/meson.build @@ -1685,8 +1685,8 @@ if host_machine.system() == 'windows' with_symbols_check = prog_dumpbin.found() and with_tests symbols_check_args = ['--dumpbin', prog_dumpbin.path()] else - prog_nm = find_program('nm', required : false) - with_symbols_check = prog_nm.found() and with_tests + prog_nm = find_program('nm') + with_symbols_check = with_tests symbols_check_args = ['--nm', prog_nm.path()] endif -- 2.30.2