git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5630
d7cf8633-e32d-0410-b094-
e92efae38249
#ifdef WIN32
dllhandle = LoadLibrary (dllnames[i]);
#else
#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;
#endif
if (dllhandle)
break;
#ifdef WIN32
dllhandle = LoadLibrary (temp);
#else
#ifdef WIN32
dllhandle = LoadLibrary (temp);
#else
- dllhandle = dlopen (temp, RTLD_LAZY);
+ dllhandle = dlopen (temp, RTLD_LAZY | RTLD_GLOBAL);
#endif
if (dllhandle)
break;
#endif
if (dllhandle)
break;