Commit 66dd5358 authored by Eric Engestrom's avatar Eric Engestrom

meson: require `nm` again on Unix systems

This was made optional in ff9bf223 ("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's avatarEric Engestrom <eric.engestrom@intel.com>
Reviwed-by: default avatarDylan Baker <dylan@pnwbakers>
parent 4d5cde1f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment