Skip to content

Commit 2c0d8b9

Browse files
committed
meson: Fix meson warning
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 bc46104. (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
1 parent ea06263 commit 2c0d8b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ if not perlopt.disabled()
12051205
if cc.get_id() == 'msvc'
12061206
# prevent binary mismatch between MSVC built plperl and Strawberry or
12071207
# msys ucrt perl libraries
1208-
perl_v = run_command(perl, '-V').stdout()
1208+
perl_v = run_command(perl, '-V', check: false).stdout()
12091209
if not perl_v.contains('USE_THREAD_SAFE_LOCALE')
12101210
perl_ccflags += ['-DNO_THREAD_SAFE_LOCALE']
12111211
endif

0 commit comments

Comments
 (0)