#ifdef WIN32
dllhandle = LoadLibrary (dllnames[i]);
#else
- dllhandle = dlopen (dllnames[i], RTLD_LAZY);
+ dllhandle = dlopen (dllnames[i], RTLD_LAZY | RTLD_GLOBAL);
#endif
if (dllhandle)
break;
#ifdef WIN32
dllhandle = LoadLibrary (temp);
#else
- dllhandle = dlopen (temp, RTLD_LAZY);
+ dllhandle = dlopen (temp, RTLD_LAZY | RTLD_GLOBAL);
#endif
if (dllhandle)
break;