mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
meson: Substitute the Python shebang
Just like we do with Autotools. This allows building glib-mkenums and glib-genmarshal on older platforms that only have Python 2.
This commit is contained in:
@@ -68,6 +68,7 @@ libgobject_dep = declare_dependency(link_with : libgobject,
|
||||
|
||||
glib_mkenums_conf = configuration_data()
|
||||
glib_mkenums_conf.set('GLIB_VERSION', glib_version)
|
||||
glib_mkenums_conf.set('PYTHON', python.path())
|
||||
|
||||
# FIXME: Set permissions
|
||||
glib_mkenums = configure_file(input : 'glib-mkenums.in',
|
||||
@@ -87,6 +88,7 @@ gmarshal_strings = custom_target('gmarshal.strings',
|
||||
|
||||
glib_genmarshal_conf = configuration_data()
|
||||
glib_genmarshal_conf.set('VERSION', glib_version)
|
||||
glib_genmarshal_conf.set('PYTHON', python.path())
|
||||
|
||||
glib_genmarshal = configure_file(input : 'glib-genmarshal.in',
|
||||
output : 'glib-genmarshal',
|
||||
|
Reference in New Issue
Block a user