|
From: | Richard Henderson |
Subject: | Re: [PATCH 7/8] configure, meson: move config-poison.h to meson |
Date: | Tue, 21 Dec 2021 13:54:32 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 |
On 12/21/21 3:05 AM, Paolo Bonzini wrote:
+genh += custom_target('config-poison.h', + input: [target_configs_h], + output: 'config-poison.h', + capture: true, + command: [find_program('scripts/make-config-poison.sh')] + + (target_configs_h.length() > 0 ? ['@INPUT@'] : []))
Using length + @INPUT@ seems needlessly around the bush. Perhaps better as [find_program...] + target_configs_h Otherwise it looks ok. r~
[Prev in Thread] | Current Thread | [Next in Thread] |