1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-28 10:24:20 +01:00

Add RTLD_DEEPBIND flag for s2 plugins

This commit is contained in:
GAMMACASE 2024-03-04 06:10:42 +03:00 committed by Nicholas Hastings
parent 37408219ba
commit 2c2668c6ee

View File

@ -65,7 +65,11 @@
#include <sys/types.h>
#include <dirent.h>
typedef void* HINSTANCE;
#ifdef META_IS_SOURCE2
#define dlmount(x) dlopen(x,RTLD_NOW | RTLD_DEEPBIND)
#else
#define dlmount(x) dlopen(x,RTLD_NOW)
#endif
#define abspath(x, s) realpath(s, x)
#define PATH_SEP_STR "/"
#define PATH_SEP_CHAR '/'