mirror of
https://github.com/curl/curl.git
synced 2025-04-12 16:20:35 +08:00
Emmanuel Dreyfus fixed not being able to find ber_free() in
libldap when available in liblber.
This commit is contained in:
parent
20b9ab49a7
commit
b66def2b4c
@ -200,6 +200,11 @@ static dynafunc DynaGetFunction(const char *name)
|
||||
* compilers! */
|
||||
*(void**) (&func) = dlsym(libldap, name);
|
||||
}
|
||||
#ifdef DL_LBER_FILE
|
||||
if (!func && liblber) {
|
||||
*(void**) (&func) = dlsym(liblber, name);
|
||||
}
|
||||
#endif
|
||||
#elif defined(WIN32)
|
||||
if (libldap) {
|
||||
func = (dynafunc)GetProcAddress((HINSTANCE)libldap, name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user