diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2025-06-22 14:13:46 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2025-06-22 14:13:46 +0200 |
commit | 2c0d8b95080e1d51c60d9c6f6a2e4460d6dfaf77 (patch) | |
tree | e62d9969974b363c233b0d2b199a09dca24cbb1b | |
parent | ea06263c4aa5abadc97a6928c6b2aff0e29698ae (diff) | |
download | postgresql-2c0d8b95080e1d51c60d9c6f6a2e4460d6dfaf77.tar.gz postgresql-2c0d8b95080e1d51c60d9c6f6a2e4460d6dfaf77.zip |
WARNING: You should add the boolean check kwarg to the run_command call.
It currently defaults to false,
but it will default to true in meson 2.0.
Introduced by commit bc46104fc9a.
(This only happens in the msvc branch. All the other run_command
calls are ok.)
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/flat/42e13eb0-862a-441e-8d84-4f0fd5f6def0%40eisentraut.org
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index d142e3e408b..474763ad19f 100644 --- a/meson.build +++ b/meson.build @@ -1205,7 +1205,7 @@ if not perlopt.disabled() if cc.get_id() == 'msvc' # prevent binary mismatch between MSVC built plperl and Strawberry or # msys ucrt perl libraries - perl_v = run_command(perl, '-V').stdout() + perl_v = run_command(perl, '-V', check: false).stdout() if not perl_v.contains('USE_THREAD_SAFE_LOCALE') perl_ccflags += ['-DNO_THREAD_SAFE_LOCALE'] endif |