summaryrefslogtreecommitdiff
path: root/src/lib/eio
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-10-04 18:29:56 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-10-05 13:40:29 +0200
commit347dc66ba9c841f5e1dfda778ea79757acbdd621 (patch)
treeb60f3a6d8afa9411a5f405ebbf993152c71a012b /src/lib/eio
parent124fbd3fa3464a4fe8cb436666f2cdc09d793162 (diff)
meson: unify system properties
this unifies the system types into 4 boolean flags This fixes the fact that meson changed the system string accross versions. Differential Revision: https://phab.enlightenment.org/D7144
Diffstat (limited to 'src/lib/eio')
-rw-r--r--src/lib/eio/meson.build8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/eio/meson.build b/src/lib/eio/meson.build
index 2c685b1fba..fd6902f38b 100644
--- a/src/lib/eio/meson.build
+++ b/src/lib/eio/meson.build
@@ -50,14 +50,14 @@ eio_src = [
50 50
51linker_args = [] 51linker_args = []
52 52
53if target_machine.system() == 'windows' 53if sys_windows == true
54 eio_src += ['eio_monitor_win32.c'] 54 eio_src += ['eio_monitor_win32.c']
55elif target_machine.system() == 'darwin' 55elif sys_osx == true
56 eio_src += ['eio_monitor_cocoa.c'] 56 eio_src += ['eio_monitor_cocoa.c']
57 linker_args = [['-framework', 'CoreServices']] 57 linker_args = [['-framework', 'CoreServices']]
58elif cc.has_header('sys/inotify.h') 58elif sys_linux == true
59 eio_src += ['eio_monitor_inotify.c'] 59 eio_src += ['eio_monitor_inotify.c']
60elif target_machine.system() == 'bsd' 60elif sys_bsd == true
61 eio_src += ['eio_monitor_kevent.c'] 61 eio_src += ['eio_monitor_kevent.c']
62endif 62endif
63 63