Don't search system directories for renderer lib

This commit is contained in:
Thilo Schulz 2011-08-01 09:33:48 +00:00
parent 5a1449bd51
commit 404fe4e6e0
5 changed files with 10 additions and 8 deletions

View file

@ -94,11 +94,11 @@ qboolean CL_cURL_Init()
Com_Printf("Loading \"%s\"...", cl_cURLLib->string);
if(!(cURLLib = Sys_LoadDll(cl_cURLLib->string)))
if(!(cURLLib = Sys_LoadDll(cl_cURLLib->string, qtrue)))
{
#ifdef ALTERNATE_CURL_LIB
// On some linux distributions there is no libcurl.so.3, but only libcurl.so.4. That one works too.
if(!(cURLLib = Sys_LoadDll(ALTERNATE_CURL_LIB)))
if(!(cURLLib = Sys_LoadDll(ALTERNATE_CURL_LIB, qtrue)))
#endif
return qfalse;
}