Skip to content

Commit 2499c34

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 9575e54 commit 2499c34

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
@@ -1055,7 +1055,7 @@ if not perlopt.disabled()
10551055
if cc.get_id() == 'msvc'
10561056
# prevent binary mismatch between MSVC built plperl and Strawberry or
10571057
# msys ucrt perl libraries
1058-
perl_v = run_command(perl, '-V').stdout()
1058+
perl_v = run_command(perl, '-V', check: false).stdout()
10591059
if not perl_v.contains('USE_THREAD_SAFE_LOCALE')
10601060
perl_ccflags += ['-DNO_THREAD_SAFE_LOCALE']
10611061
endif

0 commit comments

Comments
 (0)