meson: Remove the python option

We can instead rely solely on Meson's Python module, as Meson supports
specifying the `python` binary to use.
This commit is contained in:
Ole André Vadla Ravnås
2024-03-20 23:23:13 +01:00
parent 7df15667cc
commit bd3e280cbf
2 changed files with 1 additions and 10 deletions
+1 -4
View File
@@ -43,10 +43,7 @@ if cc.has_header('android/api-level.h')
host_os = 'android'
endif
python = get_option('python')
if python == ''
python = import('python').find_installation()
endif
python = import('python').find_installation()
python_incdir = get_option('python_incdir')
if python_incdir == ''
-6
View File
@@ -1,9 +1,3 @@
option('python',
type: 'string',
value: '',
description: 'Python interpreter to build for'
)
option('python_incdir',
type: 'string',
value: '',