Fix glib-genmarshal build with meson

This is no longer built from a C source, but a python file.
This commit is contained in:
Matthias Clasen 2017-07-13 19:35:09 -04:00
parent 653be67d7d
commit b8c8bb73b0
2 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#!@PYTHON@
#!/usr/bin/env python3
# pylint: disable=too-many-lines, missing-docstring, invalid-name

View File

@ -85,11 +85,13 @@ gmarshal_strings = custom_target('gmarshal.strings',
output : ['gmarshal.strings'],
command : [python, '@INPUT0@', '@INPUT1@', '@OUTPUT@'])
glib_genmarshal = executable('glib-genmarshal',
gmarshal_strings, 'glib-genmarshal.c',
glib_genmarshal_conf = configuration_data()
glib_genmarshal_conf.set('VERSION', glib_version)
glib_genmarshal = configure_file(input : 'glib-genmarshal.in',
output : 'glib-genmarshal',
install : true,
c_args : ['-DHAVE_CONFIG_H=1'],
dependencies : [libglib_dep, libgobject_dep])
install_dir : 'bin', configuration : glib_genmarshal_conf)
install_data('gobject_gdb.py', install_dir : join_paths(glib_pkgdatadir + 'gdb'))
gdb_conf = configuration_data()