mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-18 15:31:48 +00:00
Some alterations to the libcurl search pathes.
- On Linux try libcurl.so last, because that one is for linking only. - Support libcurl.dll on Windows.
This commit is contained in:
parent
537e6d8de3
commit
95c1bb9972
1 changed files with 4 additions and 3 deletions
|
@ -89,10 +89,11 @@ qboolean qcurlInit(void)
|
|||
#ifdef __APPLE__
|
||||
const char *libcurl[] = { "libcurl.dylib", NULL };
|
||||
#elif __linux__
|
||||
const char *libcurl[] = { "libcurl.so", "libcurl.so.3", "libcurl.so.4", "libcurl-gnutls.so.3",
|
||||
"libcurl-gnutls.so.4", "libcurl-nss.so.3", "libcurl-nss.so.4", NULL };
|
||||
const char *libcurl[] = { "libcurl.so.3", "libcurl.so.4", "libcurl-gnutls.so.3",
|
||||
"libcurl-gnutls.so.4", "libcurl-nss.so.3", "libcurl-nss.so.4", "libcurl.so",
|
||||
NULL };
|
||||
#elif _WIN32
|
||||
const char *libcurl[] = { "curl.dll", NULL };
|
||||
const char *libcurl[] = { "curl.dll", "libcurl.dll", NULL };
|
||||
#else
|
||||
const char *libcurl[] = { "libcurl.so", NULL };
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue