Ver Fonte

Restore dyn_ext_server.c since RTLD_DEEPBIND has been removed

Self Denial há 1 ano atrás
pai
commit
344342abdf
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      llm/dyn_ext_server.c

+ 1 - 1
llm/dyn_ext_server.c

@@ -3,7 +3,7 @@
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
 
 
-#if defined(__linux__) && !defined(__TERMUX__)
+#ifdef __linux__
 #include <dlfcn.h>
 #include <dlfcn.h>
 #define LOAD_LIBRARY(lib, flags) dlopen(lib, flags)
 #define LOAD_LIBRARY(lib, flags) dlopen(lib, flags)
 #define LOAD_SYMBOL(handle, sym) dlsym(handle, sym)
 #define LOAD_SYMBOL(handle, sym) dlsym(handle, sym)