[glib-networking] openssl: Do link_whole on base library



commit 81b2d5bd1e396c23509e4b18be7a5e2eda66c97a
Author: Olivier CrĂȘte <olivier crete collabora com>
Date:   Tue Mar 12 19:01:22 2019 -0400

    openssl: Do link_whole on base library

 tls/openssl/meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/tls/openssl/meson.build b/tls/openssl/meson.build
index c1f4d31..529b44b 100644
--- a/tls/openssl/meson.build
+++ b/tls/openssl/meson.build
@@ -35,10 +35,13 @@ module = shared_module(
 )
 
 if get_option('static_modules')
+  # link_whole is a workaround for a meson bug
+  # https://github.com/mesonbuild/meson/pull/3939
   static_library('gioopenssl',
     objects: module.extract_all_objects(),
     install: true,
-    install_dir: gio_module_dir
+    install_dir: gio_module_dir,
+    link_whole: [tlsbase]
   )
   pkg.generate(module)
 endif


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