forked from enlightenment/efl
Fix curl dynamic loading on windows
With win-builds.org curl dll name is libcurl-4.dll. Try to load this correct filename first
This commit is contained in:
parent
732f1c2a1b
commit
06a343afda
|
@ -270,6 +270,7 @@ _c_init(void)
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||||
|
LOAD("libcurl-4.dll"); // try correct dll first
|
||||||
LOAD("libcurl.dll"); // try 1
|
LOAD("libcurl.dll"); // try 1
|
||||||
LOAD("curllib.dll"); // if fail try 2
|
LOAD("curllib.dll"); // if fail try 2
|
||||||
#elif defined(__APPLE__) && defined(__MACH__)
|
#elif defined(__APPLE__) && defined(__MACH__)
|
||||||
|
|
Loading…
Reference in New Issue