32 lines
785 B
Plaintext
32 lines
785 B
Plaintext
$NetBSD$
|
|
|
|
--- base/third_party/libevent/BUILD.gn.orig 2020-07-15 18:55:48.000000000 +0000
|
|
+++ base/third_party/libevent/BUILD.gn
|
|
@@ -45,11 +45,25 @@ static_library("libevent") {
|
|
include_dirs = [ "mac" ]
|
|
} else if (is_linux) {
|
|
sources += [
|
|
- "epoll.c",
|
|
+ "kqueue.c",
|
|
"linux/config.h",
|
|
"linux/event-config.h",
|
|
]
|
|
include_dirs = [ "linux" ]
|
|
+ } else if (is_freebsd) {
|
|
+ sources += [
|
|
+ "kqueue.c",
|
|
+ "freebsd/config.h",
|
|
+ "freebsd/event-config.h",
|
|
+ ]
|
|
+ include_dirs = [ "freebsd" ]
|
|
+ } else if (is_netbsd) {
|
|
+ sources += [
|
|
+ "kqueue.c",
|
|
+ "netbsd/config.h",
|
|
+ "netbsd/event-config.h",
|
|
+ ]
|
|
+ include_dirs = [ "netbsd" ]
|
|
} else if (is_android) {
|
|
sources += [
|
|
"android/config.h",
|