Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
meson: Don't specifically look for python3
Browse files Browse the repository at this point in the history
Not all distributions provide Python as python3 and as Meson already depends on 3.5+ just use what Meson uses.
References: https://mesonbuild.com/Getting-meson.html
https://mesonbuild.com/Python-module.html#find_installation

Signed-off-by: Daniel Engberg <[email protected]>
  • Loading branch information
diizzyy authored and cdunn2001 committed Sep 2, 2020
1 parent 5be07bd commit 45733df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ if meson.is_subproject() or not get_option('tests')
subdir_done()
endif

python = import('python').find_installation('python3')
python = import('python').find_installation()

jsoncpp_test = executable(
'jsoncpp_test', files([
Expand Down

0 comments on commit 45733df

Please sign in to comment.