[geary/mjog/747-dynamic-client-lib] src/client/meson.build: Build client lib as a shared lib



commit 770762055ae8a6aa8e883e198cb2d424db35882c
Author: Michael Gratton <mike vee net>
Date:   Wed Mar 25 18:22:06 2020 +1100

    src/client/meson.build: Build client lib as a shared lib
    
    Build the client library as a shared lib and install it, so that client
    GObjects aren't linked in twice to plugin libraries - once via the
    client and once via the plugin lib.
    
    Fixes #747

 src/client/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/client/meson.build b/src/client/meson.build
index 2f6b250d..df20d6b4 100644
--- a/src/client/meson.build
+++ b/src/client/meson.build
@@ -173,12 +173,13 @@ if webkit_version[0].to_int() <= 2 and webkit_version[1].to_int() <= 24
 endif
 
 # Main client application library
-geary_client_lib = static_library('geary-client',
+geary_client_lib = shared_library('geary-client',
   geary_client_sources,
   dependencies: geary_client_dependencies,
   include_directories: config_h_dir,
   vala_args: geary_client_vala_args,
   c_args: geary_c_args,
+  install: true
 )
 
 geary_client_dep = declare_dependency(


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