diff --git a/.pick_status.json b/.pick_status.json index c3a12b4d33d..efecaa278e4 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -64,7 +64,7 @@ "description": "meson: avoid calling nm.full_path() when tool is not found", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "2f652e0b3691e94d6a81e37985741d35561b2312", "notes": null diff --git a/meson.build b/meson.build index 6f0b261b24f..9716180ee6d 100644 --- a/meson.build +++ b/meson.build @@ -2269,7 +2269,9 @@ elif host_machine.system() == 'windows' and cc.get_argument_syntax() != 'msvc' else prog_nm = find_program('nm') with_symbols_check = prog_nm.found() and with_tests - symbols_check_args = ['--nm', prog_nm.full_path()] + if with_symbols_check + symbols_check_args = ['--nm', prog_nm.full_path()] + endif endif # This quirk needs to be applied to sources with functions defined in assembly