Add the libraries we actually test and need for LDAP and OpenSSL, fixes bug #53339

Patch by Clint Byrum
This commit is contained in:
Raphael Geissert 2011-03-18 18:47:09 +00:00
parent f06443593e
commit a286fa3523
3 changed files with 3 additions and 2 deletions

View file

@ -50,7 +50,7 @@ AC_DEFUN([PHP_LDAP_SASL_CHECKS], [
SASL_LIB="-L$LDAP_SASL_LIBDIR -lsasl2"
fi
PHP_CHECK_LIBRARY(ldap, sasl_version,
PHP_CHECK_LIBRARY(sasl2, sasl_version,
[
PHP_ADD_INCLUDE($LDAP_SASL_INCDIR)
PHP_ADD_LIBRARY_WITH_PATH(sasl2, $LDAP_SASL_LIBDIR, LDAP_SHARED_LIBADD)