Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit585df02

Browse files
committed
Silence meson warning
Commit619bc23 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_scriptWork 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 parentdd24098 commit585df02

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
ifnotmeson.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+
ifmeson.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)

[8]ページ先頭

©2009-2025 Movatter.jp