diff --git a/README.md b/README.md index 03c26c1..4fa7997 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ sudo make install ``` The script will ask for a place to put the binaries (should be an absolute path, otherwise the build will fail) and the default HTTP port for the server config. -### Generte distribution +### Generate distribution ```sh libtoolize aclocal diff --git a/dist/antd-1.0.4b.tar.gz b/dist/antd-1.0.4b.tar.gz index 0ffb13a..e63ce5d 100644 Binary files a/dist/antd-1.0.4b.tar.gz and b/dist/antd-1.0.4b.tar.gz differ diff --git a/plugin_manager.c b/plugin_manager.c index 6b846f3..fcb30bc 100644 --- a/plugin_manager.c +++ b/plugin_manager.c @@ -61,7 +61,7 @@ void * plugin_from_file(char* name) char* error; char* path = __s("%s%s%s",config()->plugins_dir,name,config()->plugins_ext); void (*fn)(const char*, config_t*); - lib_handle = dlopen(path, RTLD_LAZY); + lib_handle = dlopen(path, RTLD_NOW| RTLD_GLOBAL); if (!lib_handle) { LOG("Cannot load plugin '%s' : '%s'\n",name,dlerror());