| Index: third_party/libevent/libevent.gyp
|
| diff --git a/third_party/libevent/libevent.gyp b/third_party/libevent/libevent.gyp
|
| index a785d34695fa2c4d280d771939489883ae97b454..413e7272011aede49ea4a9ddd31c24afc6119108 100644
|
| --- a/third_party/libevent/libevent.gyp
|
| +++ b/third_party/libevent/libevent.gyp
|
| @@ -31,7 +31,7 @@
|
| # libevent has platform-specific implementation files. Since its
|
| # native build uses autoconf, platform-specific config.h files are
|
| # provided and live in platform-specific directories.
|
| - [ 'OS == "linux" or (OS == "android" and _toolset == "host")', {
|
| + [ 'OS == "linux" or (host_os == "linux" and _toolset == "host")', {
|
| 'sources': [ 'epoll.c' ],
|
| 'include_dirs': [ 'linux' ],
|
| 'link_settings': {
|
| @@ -47,7 +47,7 @@
|
| 'sources': [ 'epoll.c' ],
|
| 'include_dirs': [ 'android' ],
|
| }],
|
| - [ 'OS == "mac" or OS == "ios" or os_bsd==1', {
|
| + [ 'OS == "mac" or OS == "ios" or os_bsd==1 or(host_os=="mac" and _toolset=="host")', {
|
| 'sources': [ 'kqueue.c' ],
|
| 'include_dirs': [ 'mac' ]
|
| }],
|
|
|