diff --git a/recipes/wip/libs/other/libevent/recipe.toml b/recipes/wip/libs/other/libevent/recipe.toml
index ac50438b71d7c5f20467b8abced139ee8bfe2dfa..8b6843e09e889128d1c63fa10ae6631052c34d3f 100644
--- a/recipes/wip/libs/other/libevent/recipe.toml
+++ b/recipes/wip/libs/other/libevent/recipe.toml
@@ -1,6 +1,10 @@
-#TODO probably wrong script, see https://github.com/libevent/libevent#cmake-unix
+#TODO compiles, not tested
 [source]
 tar = "https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz"
+patches = [
+    "redox.patch"
+]
+
 [build]
 template = "custom"
 dependencies = [
@@ -11,13 +15,17 @@ COOKBOOK_CONFIGURE="cmake"
 COOKBOOK_CONFIGURE_FLAGS=(
     -DCMAKE_BUILD_TYPE=Release
     -DCMAKE_CROSSCOMPILING=True
-    -DCMAKE_EXE_LINKER_FLAGS="-static"
-    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_INSTALL_PREFIX="${COOKBOOK_STAGE}/"
     -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
     -DCMAKE_SYSTEM_NAME=Generic
     -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
     -DCMAKE_VERBOSE_MAKEFILE=On
+    -DEVENT__LIBRARY_TYPE=STATIC
 "${COOKBOOK_SOURCE}"
 )
-cookbook_configure
+
+# Can't call `cookbook_configure` because it sets DESTDIR (which causes an error)
+"${COOKBOOK_CONFIGURE}" "${COOKBOOK_CONFIGURE_FLAGS[@]}"
+"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}"
+"${COOKBOOK_MAKE}" install
 """
diff --git a/recipes/wip/libs/other/libevent/redox.patch b/recipes/wip/libs/other/libevent/redox.patch
new file mode 100644
index 0000000000000000000000000000000000000000..5fbd6844f3960f192ee6be68c5955b816ddcef16
--- /dev/null
+++ b/recipes/wip/libs/other/libevent/redox.patch
@@ -0,0 +1,26 @@
+diff -u --recursive orig/event_tagging.c modified/event_tagging.c
+--- orig/event_tagging.c	2019-02-10 21:26:04.000000000 +0000
++++ modified/event_tagging.c	2024-11-17 14:14:19.474910364 +0000
+@@ -54,9 +54,6 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#ifndef _WIN32
+-#include <syslog.h>
+-#endif
+ #ifdef EVENT__HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif
+diff -u --recursive orig/http.c modified/http.c
+--- orig/http.c	2020-07-05 13:01:34.000000000 +0100
++++ modified/http.c	2024-11-17 14:14:10.834742812 +0000
+@@ -83,9 +83,6 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#ifndef _WIN32
+-#include <syslog.h>
+-#endif /* !_WIN32 */
+ #include <signal.h>
+ #ifdef EVENT__HAVE_UNISTD_H
+ #include <unistd.h>