[at-spi2-atk: 1/2] meson: Don't hardcode shared_library().
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk: 1/2] meson: Don't hardcode shared_library().
- Date: Fri, 29 Nov 2019 21:03:21 +0000 (UTC)
commit c9eebd3a6341b538a405378f4c2449ab62585e11
Author: Niklas Hambüchen <mail nh2 me>
Date: Mon Nov 25 04:19:24 2019 +0100
meson: Don't hardcode shared_library().
Using `library()` is meson's recommended way of declaring libraries;
they are shared by default but can be overridden to `static` or `both`.
This follows how gtk does it:
https://gitlab.gnome.org/GNOME/gtk/issues/2248
atk-adaptor/meson.build | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/atk-adaptor/meson.build b/atk-adaptor/meson.build
index 69685e3..18d9427 100644
--- a/atk-adaptor/meson.build
+++ b/atk-adaptor/meson.build
@@ -14,21 +14,21 @@ atk_bridge_sources = [
install_headers([ 'atk-bridge.h' ], subdir: join_paths(meson.project_name(), '2.0'))
-libatk_bridge = shared_library('atk-bridge-2.0', atk_bridge_sources,
- include_directories: root_inc,
- dependencies: [
- libatk_bridge_adaptors_dep,
- libdroute_dep,
- libdbus_dep,
- gmodule_dep,
- gobject_dep,
- atk_dep,
- atspi_dep,
- ],
- c_args: p2p_cflags,
- version: atk_bridge_libversion,
- soversion: atk_bridge_soversion,
- install: true)
+libatk_bridge = library('atk-bridge-2.0', atk_bridge_sources,
+ include_directories: root_inc,
+ dependencies: [
+ libatk_bridge_adaptors_dep,
+ libdroute_dep,
+ libdbus_dep,
+ gmodule_dep,
+ gobject_dep,
+ atk_dep,
+ atspi_dep,
+ ],
+ c_args: p2p_cflags,
+ version: atk_bridge_libversion,
+ soversion: atk_bridge_soversion,
+ install: true)
libatk_bridge_dep = declare_dependency(link_with: libatk_bridge,
include_directories: [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]