cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9336e2c51c2f9fc53e1d66f5fe40fa7808d1fb24

commit 9336e2c51c2f9fc53e1d66f5fe40fa7808d1fb24
Author: Vincent Torri <vincent.to...@gmail.com>
Date:   Wed Aug 21 05:43:30 2019 +0000

    Ecore : does not build linux-only ecore modules on Windows
    
    while tizen module is disabled and systemd is not build on Windows, upower 
is built and run
    
    Reviewed-by: Marcel Hollerbach <m...@marcel-hollerbach.de>
    Differential Revision: https://phab.enlightenment.org/D9658
---
 src/modules/ecore/meson.build | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/src/modules/ecore/meson.build b/src/modules/ecore/meson.build
index 08c868a665..10f6d47a43 100644
--- a/src/modules/ecore/meson.build
+++ b/src/modules/ecore/meson.build
@@ -1,10 +1,15 @@
-system_modules = [
-  'systemd',
-  'upower',
-  #'tizen',
-]
-
-foreach system_module : system_modules
-  mod_install_dir = join_paths(dir_lib, 'ecore', 'system', system_module, 
version_name)
-  subdir(join_paths('system', system_module))
-endforeach
+
+if sys_windows == false
+
+  system_modules = [
+    'systemd',
+    'upower',
+    #'tizen',
+  ]
+
+  foreach system_module : system_modules
+    mod_install_dir = join_paths(dir_lib, 'ecore', 'system', system_module, 
version_name)
+    subdir(join_paths('system', system_module))
+  endforeach
+
+endif

-- 


Reply via email to