meson: complete introspection build config
Pass the same config to gobject-introspection as with cmake/autotools. This makes sure the c-include and package name is included in the gir and also fixes the build because of the missing HB_AAT_H* defines. Fixes #2336
This commit is contained in:
parent
22f7c61acf
commit
dced2fbee9
|
@ -566,14 +566,18 @@ if have_gobject
|
|||
namespace: 'HarfBuzz',
|
||||
nsversion: '0.0',
|
||||
identifier_prefix: 'hb_',
|
||||
symbol_prefix: 'hb_',
|
||||
symbol_prefix: ['hb', 'hb_gobject'],
|
||||
includes: ['GObject-2.0'],
|
||||
export_packages: ['harfbuzz-gobject'],
|
||||
header: 'hb-gobject.h',
|
||||
install: true,
|
||||
extra_args: ['--cflags-begin',
|
||||
'-DHB_H',
|
||||
'-DHB_H_IN',
|
||||
'-DHB_OT_H',
|
||||
'-DHB_OT_H_IN',
|
||||
'-DHB_AAT_H',
|
||||
'-DHB_AAT_H_IN',
|
||||
'-DHB_GOBJECT_H',
|
||||
'-DHB_GOBJECT_H_IN',
|
||||
'-DHB_EXTERN=',
|
||||
|
|
Loading…
Reference in New Issue