Commit be215eb8 authored by Chris Mayo's avatar Chris Mayo

build: make the python installation used configurable

Meson does not always find the desired installation.
parent bbe1cd23
......@@ -11,6 +11,7 @@ df_prefix = get_option('prefix')
df_bindir = get_option('bindir')
df_datadir = get_option('datadir')
df_libdir = get_option('libdir')
df_python = get_option('python')
df_pkgdatadir = df_datadir / df_name
df_pkglibdir = df_libdir / df_name
......@@ -19,7 +20,7 @@ df_namespace = 'org.gnome.dfeet'
gnome = import('gnome')
i18n = import('i18n')
python = import('python').find_installation('python3')
python = import('python').find_installation(df_python)
source_root = meson.current_source_dir()
......
option('tests', type: 'boolean', value: true, description: 'build tests')
option('python', type: 'string', value: 'python3', description: 'Python installation to use')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment