mirror of
https://github.com/curl/curl.git
synced 2026-05-30 04:27:30 +03: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
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue