fix #34970 (ldap configuration issues)

This commit is contained in:
Antony Dovgal 2005-10-24 20:24:05 +00:00
parent 654da3c826
commit b7267ff12b

View File

@ -95,7 +95,7 @@ if test "$PHP_LDAP" != "no"; then
LDAP_PTHREAD=
fi
if test -f $LDAP_LIBDIR/liblber.a -o -f $LDAP_LIBDIR/liblber.$SHLIB_SUFFIX_NAME; then
if test -f $LDAP_LIBDIR/liblber.a || -f $LDAP_LIBDIR/liblber.$SHLIB_SUFFIX_NAME; then
PHP_ADD_LIBRARY_WITH_PATH(lber, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)
PHP_ADD_LIBRARY_WITH_PATH(ldap, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)