[glib-networking] Meson: Add dependencies on static modules
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking] Meson: Add dependencies on static modules
- Date: Fri, 12 Aug 2022 14:43:26 +0000 (UTC)
commit 8779853e1523349a10989874912daf582e45eaa6
Author: Xavier Claessens <xavier claessens collabora com>
Date: Thu Jun 23 10:53:22 2022 -0400
Meson: Add dependencies on static modules
They are not needed to build the static library since it's using only
object files from the shared library, but they are needed to link
against them when used in an application.
proxy/environment/meson.build | 1 +
proxy/gnome/meson.build | 1 +
proxy/libproxy/meson.build | 1 +
tls/gnutls/meson.build | 1 +
tls/openssl/meson.build | 1 +
5 files changed, 5 insertions(+)
---
diff --git a/proxy/environment/meson.build b/proxy/environment/meson.build
index e2e0ffa6..6cab3607 100644
--- a/proxy/environment/meson.build
+++ b/proxy/environment/meson.build
@@ -29,6 +29,7 @@ module = shared_module(
if get_option('static_modules') or get_option('default_library') != 'shared'
gioenvironmentproxy_lib = static_library('gioenvironmentproxy',
objects: module.extract_all_objects(recursive: true),
+ dependencies: deps,
install: true,
install_dir: gio_module_dir
)
diff --git a/proxy/gnome/meson.build b/proxy/gnome/meson.build
index b171bfec..ffe590fc 100644
--- a/proxy/gnome/meson.build
+++ b/proxy/gnome/meson.build
@@ -26,6 +26,7 @@ module = shared_module(
if get_option('static_modules') or get_option('default_library') != 'shared'
giognomeproxy_lib = static_library('giognomeproxy',
objects: module.extract_all_objects(recursive: true),
+ dependencies: deps,
install: true,
install_dir: gio_module_dir
)
diff --git a/proxy/libproxy/meson.build b/proxy/libproxy/meson.build
index b06f77db..a9bd59de 100644
--- a/proxy/libproxy/meson.build
+++ b/proxy/libproxy/meson.build
@@ -50,6 +50,7 @@ module = shared_module(
if get_option('static_modules') or get_option('default_library') != 'shared'
giolibproxy_lib = static_library('giolibproxy',
objects: module.extract_all_objects(recursive: true),
+ dependencies: deps,
install: true,
install_dir: gio_module_dir
)
diff --git a/tls/gnutls/meson.build b/tls/gnutls/meson.build
index 3cd28568..5b1a0766 100644
--- a/tls/gnutls/meson.build
+++ b/tls/gnutls/meson.build
@@ -35,6 +35,7 @@ module = shared_module(
if get_option('static_modules') or get_option('default_library') != 'shared'
giognutls_lib = static_library('giognutls',
objects: module.extract_all_objects(recursive: true),
+ dependencies: deps,
install: true,
install_dir: gio_module_dir,
)
diff --git a/tls/openssl/meson.build b/tls/openssl/meson.build
index d0e22b48..6a16ccda 100644
--- a/tls/openssl/meson.build
+++ b/tls/openssl/meson.build
@@ -48,6 +48,7 @@ module = shared_module(
if get_option('static_modules') or get_option('default_library') != 'shared'
gioopenssl_lib = static_library('gioopenssl',
objects: module.extract_all_objects(recursive: true),
+ dependencies: deps,
install: true,
install_dir: gio_module_dir,
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]