[gnome-online-accounts/ebassi/issue-226] build: Use the appropriate dependency object




commit f10c48ee114f719c63a8eabccdfb401a14219f46
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Oct 5 22:15:37 2022 +0100

    build: Use the appropriate dependency object
    
    Just using `link_with` will not ensure that the GOA web extension shared
    module is properly built against libgoa-backend and libgoa; the
    generated headers must be transitively available by the time we build
    the shared module.
    
    Fixes: #226

 src/goabackend/meson.build | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/goabackend/meson.build b/src/goabackend/meson.build
index f5382b34..865b2d28 100644
--- a/src/goabackend/meson.build
+++ b/src/goabackend/meson.build
@@ -157,9 +157,8 @@ libgoa_web_extension = shared_module(
   'goawebextension',
   libgoawebextension_sources,
   include_directories: common_incs + [goa_inc],
-  dependencies: deps,
+  dependencies: [deps, libgoa_backend_dep],
   c_args: cflags,
-  link_with: libgoa_backend,
   install: true,
   install_dir: join_paths(goa_pkglibdir, 'web-extensions')
 )


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