mirror of
https://github.com/lxsang/ant-http
synced 2024-11-17 17:08:20 +01:00
fix ld bug
This commit is contained in:
parent
b3609ea014
commit
d5c4461d34
BIN
dist/antd-1.0.4b.tar.gz
vendored
BIN
dist/antd-1.0.4b.tar.gz
vendored
Binary file not shown.
@ -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_NOW| RTLD_GLOBAL);
|
||||
lib_handle = dlopen(path, RTLD_LAZY);
|
||||
if (!lib_handle)
|
||||
{
|
||||
ERROR("Cannot load plugin '%s' : '%s'",name,dlerror());
|
||||
|
Loading…
Reference in New Issue
Block a user