Emmanuel Dreyfus fixed not being able to find ber_free() in
libldap when available in liblber.
This commit is contained in:
Родитель
20b9ab49a7
Коммит
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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче