Commit 6541a870 authored by Ting-Wei Lan's avatar Ting-Wei Lan

build: Use python3 found by meson to run build-aux/post-install.py

https://bugzilla.gnome.org/show_bug.cgi?id=782298
parent d26f98e1
#!/usr/bin/python3
#!/usr/bin/env python3
import os
import pathlib
......
......@@ -8,6 +8,7 @@ project(
gnome = import('gnome')
i18n = import('i18n')
python3 = import('python3')
glib = dependency('glib-2.0', version: '>=2.44')
gio = dependency('gio-2.0', version: '>=2.44')
......@@ -48,7 +49,8 @@ endif
configure_file(output: 'config.h', configuration: conf)
config_h_dir = include_directories('.')
meson.add_install_script(join_paths('build-aux', 'post-install.py'))
meson.add_install_script(python3.find_python().path(),
join_paths(meson.source_root(), 'build-aux', 'post-install.py'))
subdir('data')
subdir('help')
......
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