Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

Restore dyn_ext_server.c since RTLD_DEEPBIND has been removed

Self Denial344342abdf41
diff --git a/llm/dyn_ext_server.c b/llm/dyn_ext_server.c
index 5807ca632..e9aa3481f 100644
--- a/llm/dyn_ext_server.c
+++ b/llm/dyn_ext_server.c
@@ -3,7 +3,7 @@
#include <stdio.h>
#include <string.h>
-#if defined(__linux__) && !defined(__TERMUX__)
+#ifdef __linux__
#include <dlfcn.h>
#define LOAD_LIBRARY(lib, flags) dlopen(lib, flags)
#define LOAD_SYMBOL(handle, sym) dlsym(handle, sym)