[libgepub] Fix the gir generation
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgepub] Fix the gir generation
- Date: Wed, 21 Feb 2018 11:11:11 +0000 (UTC)
commit 2a0d922f5738d988bedfc98d2fc89038d39fa447
Author: Chris Lee <clee mg8 org>
Date: Wed Feb 21 04:04:11 2018 -0700
Fix the gir generation
Set the proper C header name for the library, and also save the
generated gir in a new variable so that it can be accessed to
more easily generate API bindings.
libgepub/meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/libgepub/meson.build b/libgepub/meson.build
index 8ea5702..4485a5a 100644
--- a/libgepub/meson.build
+++ b/libgepub/meson.build
@@ -77,8 +77,9 @@ if get_option('introspection') and get_option('default_library') == 'shared'
gir_dir = join_paths(gepub_datadir, '@0@-@1@'.format('gir', gepub_gir_version))
typelib_dir = join_paths(gepub_libdir, '@0@-@1@'.format('girepository', gepub_gir_version))
- gnome.generate_gir(
+ libgepub_gir = gnome.generate_gir(
libgepub,
+ header: 'gepub.h',
sources: sources + headers + private_headers,
namespace: gepub_gir_ns,
nsversion: gepub_api_version,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]