diff --git a/ascurl/meta_api.cpp b/ascurl/meta_api.cpp index 501f862..529655a 100644 --- a/ascurl/meta_api.cpp +++ b/ascurl/meta_api.cpp @@ -176,5 +176,7 @@ C_DLLEXPORT int Meta_Detach(PLUG_LOADTIME /* now */, C_DLLEXPORT void meta_linkdl() { DLOPEN(""); + DLSYM(NULL, ""); + DLCLOSE(NULL); } #endif \ No newline at end of file diff --git a/asext/meta_api.cpp b/asext/meta_api.cpp index c2eaeac..29ccfd1 100644 --- a/asext/meta_api.cpp +++ b/asext/meta_api.cpp @@ -205,5 +205,7 @@ C_DLLEXPORT int Meta_Detach(PLUG_LOADTIME /* now */, C_DLLEXPORT void meta_linkdl() { DLOPEN(""); + DLSYM(NULL, ""); + DLCLOSE(NULL); } #endif \ No newline at end of file diff --git a/asqcvar/meta_api.cpp b/asqcvar/meta_api.cpp index cfe3fc1..e5d532f 100644 --- a/asqcvar/meta_api.cpp +++ b/asqcvar/meta_api.cpp @@ -170,5 +170,7 @@ C_DLLEXPORT int Meta_Detach(PLUG_LOADTIME /* now */, C_DLLEXPORT void meta_linkdl() { DLOPEN(""); + DLSYM(NULL, ""); + DLCLOSE(NULL); } #endif \ No newline at end of file diff --git a/asusermsg/meta_api.cpp b/asusermsg/meta_api.cpp index 3a78504..2c6e9ed 100644 --- a/asusermsg/meta_api.cpp +++ b/asusermsg/meta_api.cpp @@ -170,5 +170,7 @@ C_DLLEXPORT int Meta_Detach(PLUG_LOADTIME /* now */, C_DLLEXPORT void meta_linkdl() { DLOPEN(""); + DLSYM(NULL, ""); + DLCLOSE(NULL); } #endif \ No newline at end of file diff --git a/fallguys/meta_api.cpp b/fallguys/meta_api.cpp index d4cd7fe..9cf4b9f 100644 --- a/fallguys/meta_api.cpp +++ b/fallguys/meta_api.cpp @@ -234,5 +234,7 @@ C_DLLEXPORT int Meta_Detach(PLUG_LOADTIME /* now */, C_DLLEXPORT void meta_linkdl() { DLOPEN(""); + DLSYM(NULL, ""); + DLCLOSE(NULL); } #endif \ No newline at end of file diff --git a/metamod/metamod.cpp b/metamod/metamod.cpp index c5eda54..515cca6 100644 --- a/metamod/metamod.cpp +++ b/metamod/metamod.cpp @@ -516,3 +516,12 @@ mBOOL DLLINTERNAL meta_load_gamedll(void) { return(mTRUE); } + +#ifdef PLATFORM_POSIX +C_DLLEXPORT void meta_linkdl() +{ + DLOPEN(""); + DLSYM(NULL, ""); + DLCLOSE(NULL); +} +#endif \ No newline at end of file