Restore dyn_ext_server.c since RTLD_DEEPBIND has been removed

This commit is contained in:
Self Denial 2024-01-18 17:30:42 -07:00
parent eb76f3e379
commit 344342abdf

View file

@ -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)