diff --git a/extra/tarantool.rb b/extra/tarantool.rb index cb5e2a858be8239e399eb90ec21ecdfe50c59a80..81f6a35ee5e600a00cc2b8db269b6b78d8c363a6 100644 --- a/extra/tarantool.rb +++ b/extra/tarantool.rb @@ -44,6 +44,7 @@ class Tarantool < Formula args << "-DENABLE_CLIENT=True" if build.stable? args << "-DCMAKE_INSTALL_SYSCONFDIR=#{prefix}/etc" args << "-DCMAKE_INSTALL_LOCALSTATEDIR=#{prefix}/var" + args << "-DREADLINE_ROOT=/usr/local/Cellar" args += std_cmake_args ohai "Preparing" diff --git a/third_party/coro/coro.c b/third_party/coro/coro.c index a980561ce950b9a0f870ce069db95d32a0e68fd4..cb14846af5e38074153a1b40286767172479f227 100644 --- a/third_party/coro/coro.c +++ b/third_party/coro/coro.c @@ -123,7 +123,7 @@ trampoline (int sig) asm ( "\t.text\n" - #if _WIN32 || __CYGWIN__ + #if _WIN32 || __CYGWIN__ || __APPLE__ "\t.globl _coro_transfer\n" "_coro_transfer:\n" #else