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

Commit70516b8

Browse files
committed
meson: Stop using deprecated way getting path of files
The just released meson 1.3 strongly deprecated a hack we were using, emittinga noisy warning (the hack basically depended on an implementation detail towork). Turns out there has been a better way available for a while, I justhadn't found it. 1.4 added a more convenient approach, but we can't rely onthat.Reviewed-by: Tristan Partin <tristan@neon.tech>Discussion:https://postgr.es/m/20231129185053.s6c7f73eg7b4ztfi@awork3.anarazel.deBackpatch: 16-, where the meson build was added.
1 parentcf84755 commit70516b8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎meson.build

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2925,8 +2925,12 @@ potentially_conflicting_files = []
29252925
foreacht: potentially_conflicting_files_t
29262926
potentially_conflicting_files+= t.full_path()
29272927
endforeach
2928-
foreacht: configure_files
2929-
t='@0@'.format(t)
2928+
foreacht1: configure_files
2929+
ifmeson.version().version_compare('>=0.59')
2930+
t= fs.parent(t1)/ fs.name(t1)
2931+
else
2932+
t='@0@'.format(t1)
2933+
endif
29302934
potentially_conflicting_files+=meson.current_build_dir()/ t
29312935
endforeach
29322936
foreach sub,fnames: generated_sources_ac

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp