mirror of
https://github.com/frida/frida-python
synced 2026-06-08 14:16:17 +00:00
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:
+1
-4
@@ -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 == ''
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
option('python',
|
||||
type: 'string',
|
||||
value: '',
|
||||
description: 'Python interpreter to build for'
|
||||
)
|
||||
|
||||
option('python_incdir',
|
||||
type: 'string',
|
||||
value: '',
|
||||
|
||||
Reference in New Issue
Block a user