Commit b66def2b authored by Yang Tse's avatar Yang Tse
Browse files

Emmanuel Dreyfus fixed not being able to find ber_free() in

libldap when available in liblber.
parent 20b9ab49
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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);