meson: require `nm` again on Unix systems
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 29 Oct 2019 21:43:22 +0000 (21:43 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 5 Nov 2019 20:56:44 +0000 (20:56 +0000)
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 <eric.engestrom@intel.com>
Reviwed-by: Dylan Baker <dylan@pnwbakers>
meson.build

index 796b628..457cc0c 100644 (file)
@@ -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