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

Commit1f5e388

Browse files
committed
meson: Improve/fix Python version selection
When we look for the Python installation using the meson pythonmodule, we should make it use the python program previously determinedby the 'PYTHON' option. Otherwise, it will just use its own searchand the 'PYTHON' option won't affect it. We need this to be able toselect the Python installation to build PL/Python against.Reviewed-by: Andres Freund <andres@anarazel.de>Discussion:https://www.postgresql.org/message-id/flat/3f5427e8-cef6-474d-ae88-13db1bfdc1a7%40eisentraut.org
1 parent2d758dc commit1f5e388

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
@@ -1055,7 +1055,7 @@ pyopt = get_option('plpython')
10551055
python3_dep= not_found_dep
10561056
ifnot pyopt.disabled()
10571057
pm=import('python')
1058-
python3_inst= pm.find_installation(required: pyopt)
1058+
python3_inst= pm.find_installation(python.path(),required: pyopt)
10591059
if python3_inst.found()
10601060
python3_dep= python3_inst.dependency(embed:true,required: pyopt)
10611061
# Remove this check after we depend on Meson >= 1.1.0

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp