Emmanuel Dreyfus fixed not being able to find ber_free() in
libldap when available in liblber.
This commit is contained in:
@@ -200,6 +200,11 @@ static dynafunc DynaGetFunction(const char *name)
|
|||||||
* compilers! */
|
* compilers! */
|
||||||
*(void**) (&func) = dlsym(libldap, name);
|
*(void**) (&func) = dlsym(libldap, name);
|
||||||
}
|
}
|
||||||
|
#ifdef DL_LBER_FILE
|
||||||
|
if (!func && liblber) {
|
||||||
|
*(void**) (&func) = dlsym(liblber, name);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
#elif defined(WIN32)
|
#elif defined(WIN32)
|
||||||
if (libldap) {
|
if (libldap) {
|
||||||
func = (dynafunc)GetProcAddress((HINSTANCE)libldap, name);
|
func = (dynafunc)GetProcAddress((HINSTANCE)libldap, name);
|
||||||
|
Reference in New Issue
Block a user