mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
Fix glib-genmarshal build with meson
This is no longer built from a C source, but a python file.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!@PYTHON@
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# pylint: disable=too-many-lines, missing-docstring, invalid-name
|
# pylint: disable=too-many-lines, missing-docstring, invalid-name
|
||||||
|
|
||||||
|
@@ -85,11 +85,13 @@ gmarshal_strings = custom_target('gmarshal.strings',
|
|||||||
output : ['gmarshal.strings'],
|
output : ['gmarshal.strings'],
|
||||||
command : [python, '@INPUT0@', '@INPUT1@', '@OUTPUT@'])
|
command : [python, '@INPUT0@', '@INPUT1@', '@OUTPUT@'])
|
||||||
|
|
||||||
glib_genmarshal = executable('glib-genmarshal',
|
glib_genmarshal_conf = configuration_data()
|
||||||
gmarshal_strings, 'glib-genmarshal.c',
|
glib_genmarshal_conf.set('VERSION', glib_version)
|
||||||
|
|
||||||
|
glib_genmarshal = configure_file(input : 'glib-genmarshal.in',
|
||||||
|
output : 'glib-genmarshal',
|
||||||
install : true,
|
install : true,
|
||||||
c_args : ['-DHAVE_CONFIG_H=1'],
|
install_dir : 'bin', configuration : glib_genmarshal_conf)
|
||||||
dependencies : [libglib_dep, libgobject_dep])
|
|
||||||
|
|
||||||
install_data('gobject_gdb.py', install_dir : join_paths(glib_pkgdatadir + 'gdb'))
|
install_data('gobject_gdb.py', install_dir : join_paths(glib_pkgdatadir + 'gdb'))
|
||||||
gdb_conf = configuration_data()
|
gdb_conf = configuration_data()
|
||||||
|
Reference in New Issue
Block a user