bu5hm4n pushed a commit to branch feature/meson.

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

commit ae0a35532dec4eea1acdf531fd7b500bb6bf1134
Author: Marcel Hollerbach <[email protected]>
Date:   Wed Mar 28 12:23:55 2018 +0100

    meson: fix semaphore detection on osx
    
    this makes meson-efl compile on osx
---
 src/lib/eina/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
index b588ab44b5..04dcdacae4 100644
--- a/src/lib/eina/meson.build
+++ b/src/lib/eina/meson.build
@@ -334,7 +334,7 @@ if target_machine.system() == 'darwin'
    if cc.has_header_symbol('libkern/OSAtomic.h', 'OSSpinLockTry')
      eina_config.set('EINA_HAVE_OSX_SPINLOCK', 1)
    endif
-   if cc.has_header_symbol('mach/semaphore.h', 'semaphore_create')
+   if cc.has_header_symbol('mach/task.h', 'semaphore_create')
      eina_config.set('EINA_HAVE_OSX_SEMAPHORE', 1)
    endif
 

-- 


Reply via email to