aboutsummaryrefslogtreecommitdiff
path: root/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin.c')
-rw-r--r--plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin.c b/plugin.c
index 674e992..d8500fe 100644
--- a/plugin.c
+++ b/plugin.c
@@ -19,7 +19,7 @@ static size_t attached_libraries = 0;
static void** attached_library = NULL;
static void* plugin_attach(char* path){
- void* module = dlopen(path, RTLD_LAZY);
+ void* module = dlopen(path, RTLD_NOW);
if(!module){
fprintf(stderr, "Failed to load module %s\n", dlerror());