Skip to content

Commit 585df02

Browse files
committed
Silence meson warning
Commit 619bc23 introduced WARNING: Project targets '>=0.54' but uses feature introduced in '0.55.0': Passing executable/found program object to script parameter of add_dist_script Work around that by wrapping the offending line in a meson version check. Author: Tristan Partin <tristan@neon.tech> Discussion: https://www.postgresql.org/message-id/flat/D096Q3NFFVH1.1T5RE4MOO9ZFH%40neon.tech
1 parent dd24098 commit 585df02

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

meson.build

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3419,7 +3419,10 @@ alias_target('pgdist', [tar_gz, tar_bz2])
34193419
# But not if we are in a subproject, in case the parent project wants to
34203420
# create a dist using the standard Meson command.
34213421
if not meson.is_subproject()
3422-
meson.add_dist_script(perl, '-e', 'exit 1')
3422+
# We can only pass the identifier perl here when we depend on >= 0.55
3423+
if meson.version().version_compare('>=0.55')
3424+
meson.add_dist_script(perl, '-e', 'exit 1')
3425+
endif
34233426
endif
34243427

34253428

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