summaryrefslogtreecommitdiff
path: root/src/modules/ecore/system
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-06 11:41:28 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-07 10:58:17 +0200
commit44a33c2dad59b4fd18964415f3a4a3a479772e0f (patch)
tree9a202fd8fb523f473d2d466f2e882d4fcf295c40 /src/modules/ecore/system
parentc9f9582753b9e0c4091af544a2be54ee2fdea70f (diff)
meson: support unified suffixes for modules
A long story in a few words: sometimes on macos modules will be compiled into .dylib, sometimes, into .so suffix. We did not set the suffix everywhere in our meson build instructions, hence our suffixes have been differently, which resulted in random load fails on different maschines. With this commit, we ensure that we suffix all modules the same way. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11650
Diffstat (limited to 'src/modules/ecore/system')
-rw-r--r--src/modules/ecore/system/systemd/meson.build1
-rw-r--r--src/modules/ecore/system/tizen/meson.build1
-rw-r--r--src/modules/ecore/system/upower/meson.build1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/ecore/system/systemd/meson.build b/src/modules/ecore/system/systemd/meson.build
index 7649611255..2a1104ca6a 100644
--- a/src/modules/ecore/system/systemd/meson.build
+++ b/src/modules/ecore/system/systemd/meson.build
@@ -4,6 +4,7 @@ if get_option('systemd')
4 dependencies: [ecore, eldbus], 4 dependencies: [ecore, eldbus],
5 install: true, 5 install: true,
6 install_dir: mod_install_dir, 6 install_dir: mod_install_dir,
7 name_suffix : sys_mod_extension
7 ) 8 )
8 module_files += join_paths(mod_install_dir, 'libsystemd.' + sys_mod_extension) 9 module_files += join_paths(mod_install_dir, 'libsystemd.' + sys_mod_extension)
9endif 10endif
diff --git a/src/modules/ecore/system/tizen/meson.build b/src/modules/ecore/system/tizen/meson.build
index 78c7640e4b..8d9db22661 100644
--- a/src/modules/ecore/system/tizen/meson.build
+++ b/src/modules/ecore/system/tizen/meson.build
@@ -3,5 +3,6 @@ ecore_systemd_mod = shared_module('tizen',
3 dependencies: [ecore, eldbus], 3 dependencies: [ecore, eldbus],
4 install: true, 4 install: true,
5 install_dir: mod_install_dir, 5 install_dir: mod_install_dir,
6 name_suffix : sys_mod_extension
6) 7)
7module_files += join_paths(mod_install_dir, 'libtizen.' + sys_mod_extension) 8module_files += join_paths(mod_install_dir, 'libtizen.' + sys_mod_extension)
diff --git a/src/modules/ecore/system/upower/meson.build b/src/modules/ecore/system/upower/meson.build
index ea1a20bec1..b579bed76d 100644
--- a/src/modules/ecore/system/upower/meson.build
+++ b/src/modules/ecore/system/upower/meson.build
@@ -3,5 +3,6 @@ ecore_systemd_mod = shared_module('upower',
3 dependencies: [ecore, eldbus], 3 dependencies: [ecore, eldbus],
4 install: true, 4 install: true,
5 install_dir: mod_install_dir, 5 install_dir: mod_install_dir,
6 name_suffix : sys_mod_extension
6) 7)
7module_files += join_paths(mod_install_dir, 'libupower.' + sys_mod_extension) 8module_files += join_paths(mod_install_dir, 'libupower.' + sys_mod_extension)