Skip to content

Commit 629cc16

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 7a93bd5 commit 629cc16

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
@@ -1061,7 +1061,7 @@ if not perlopt.disabled()
10611061
if cc.get_id() == 'msvc'
10621062
# prevent binary mismatch between MSVC built plperl and Strawberry or
10631063
# msys ucrt perl libraries
1064-
perl_v = run_command(perl, '-V').stdout()
1064+
perl_v = run_command(perl, '-V', check: false).stdout()
10651065
if not perl_v.contains('USE_THREAD_SAFE_LOCALE')
10661066
perl_ccflags += ['-DNO_THREAD_SAFE_LOCALE']
10671067
endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy