diff --git a/meson.build b/meson.build index 2d21069..30f36bf 100644 --- a/meson.build +++ b/meson.build @@ -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 == '' diff --git a/meson.options b/meson.options index 37d05a8..8e3179f 100644 --- a/meson.options +++ b/meson.options @@ -1,9 +1,3 @@ -option('python', - type: 'string', - value: '', - description: 'Python interpreter to build for' -) - option('python_incdir', type: 'string', value: '',