summaryrefslogtreecommitdiff
path: root/src/lib/eina
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/eina
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/eina')
-rw-r--r--src/lib/eina/meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
index dcd51b2bfc..13750b8070 100644
--- a/src/lib/eina/meson.build
+++ b/src/lib/eina/meson.build
@@ -185,7 +185,7 @@ sources = [
185'eina_vpath_xdg.c' 185'eina_vpath_xdg.c'
186] 186]
187 187
188if target_machine.system() == 'cygwin' 188if sys_windows == true
189 sources += 'eina_file_win32.c' 189 sources += 'eina_file_win32.c'
190else 190else
191 sources += 'eina_file.c' 191 sources += 'eina_file.c'
@@ -273,7 +273,7 @@ if cc.has_header_symbol('pthread.h', 'pthread_barrier_init')
273 eina_config.set('EINA_HAVE_PTHREAD_BARRIER', '1') 273 eina_config.set('EINA_HAVE_PTHREAD_BARRIER', '1')
274endif 274endif
275 275
276if target_machine.system() == 'linux' 276if sys_linux == true
277 pthread_np_header_file = 'pthread.h' 277 pthread_np_header_file = 'pthread.h'
278 pthread_setname_np_api = 'pthread_setname_np' 278 pthread_setname_np_api = 'pthread_setname_np'
279 pthread_args = '-D_GNU_SOURCE' 279 pthread_args = '-D_GNU_SOURCE'
@@ -335,7 +335,7 @@ if cc.has_header_symbol('pthread.h', 'pthread_spin_init')
335 eina_config.set('EINA_HAVE_POSIX_SPINLOCK', '1') 335 eina_config.set('EINA_HAVE_POSIX_SPINLOCK', '1')
336endif 336endif
337 337
338if target_machine.system() == 'darwin' 338if sys_osx == true
339 if cc.has_header_symbol('libkern/OSAtomic.h', 'OSSpinLockTry') 339 if cc.has_header_symbol('libkern/OSAtomic.h', 'OSSpinLockTry')
340 eina_config.set('EINA_HAVE_OSX_SPINLOCK', 1) 340 eina_config.set('EINA_HAVE_OSX_SPINLOCK', 1)
341 endif 341 endif