Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 585df02

Browse filesBrowse 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
Copy full SHA for 585df02

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed

‎meson.build

Copy file name to clipboardExpand all lines: meson.build
+4-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.