[librest] Fix introspection generation for librest-extras



commit df22d245b362f904c1d391267fbfecae3f03e299
Author: Günther Wagner <info gunibert de>
Date:   Thu Oct 21 21:10:01 2021 +0200

    Fix introspection generation for librest-extras

 rest-extras/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rest-extras/meson.build b/rest-extras/meson.build
index b85b388..f8c0ddd 100644
--- a/rest-extras/meson.build
+++ b/rest-extras/meson.build
@@ -47,10 +47,10 @@ librest_extras_dep = declare_dependency(
 
 if get_option('introspection')
   librest_extras_gir = gnome.generate_gir(librest_extras_lib,
-    sources: librest_extras_headers,
+    sources: librest_extras_sources + librest_extras_headers,
     namespace: 'RestExtras',
     nsversion: librest_api_version,
-    includes: [ 'GObject-2.0', 'Gio-2.0', 'Soup-2.4' ],
+    includes: [ 'GObject-2.0', 'Gio-2.0', 'Soup-2.4', librest_gir[0] ],
     extra_args: [ '--accept-unprefixed' ],
     install: true,
   )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]