aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-build_linux_unbundle_libevent.gn
blob: d5f276de574d97575f9a007918046b428198a8d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- build/linux/unbundle/libevent.gn.orig	2022-05-28 07:21:18 UTC
+++ build/linux/unbundle/libevent.gn
@@ -9,7 +9,12 @@ shim_headers("libevent_shim") {
   headers = [ "event.h" ]
 }
 
+config("system_libevent") {
+  defines = [ "USE_SYSTEM_LIBEVENT=1" ]
+}
+
 source_set("libevent") {
   deps = [ ":libevent_shim" ]
   libs = [ "event" ]
+  public_configs = [ ":system_libevent" ]
 }