diff --git a/src/meson.build b/src/meson.build index d4a384b91..2aaf802cd 100644 --- a/src/meson.build +++ b/src/meson.build @@ -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=',