diff options
| author | Nuno Lopes <nlopess@php.net> | 2007-08-08 11:37:44 +0000 |
|---|---|---|
| committer | Nuno Lopes <nlopess@php.net> | 2007-08-08 11:37:44 +0000 |
| commit | cb0e56f7c7a25d4ffe99c575f6723b3900722958 (patch) | |
| tree | 0be0477689a798d643e2f0fcd3d83a26b3be5c6c | |
| parent | 9c07366bb0a9cf018aefc5b44c9b3e11dbe73dc4 (diff) | |
| download | php-git-cb0e56f7c7a25d4ffe99c575f6723b3900722958.tar.gz | |
+- Fixed bug #41973 (./configure --with-ldap=shared fails with
| -rw-r--r-- | NEWS | 2 | ||||
| -rw-r--r-- | ext/ldap/config.m4 | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -9,6 +9,8 @@ PHP NEWS more than once). (crrodriguez at suse dot de, Ilia) - Fixed bug #42195 (C++ compiler required always). (Jani) - Fixed bug #42082 (NodeList length zero should be empty). (Hannes) +- Fixed bug #41973 (./configure --with-ldap=shared fails with + LDFLAGS="-Wl,--as-needed"). (Nuno) - Fixed bug #36492 (Userfilters can leak buckets). (Sara) 02 Aug 2007, PHP 5.2.4RC1 diff --git a/ext/ldap/config.m4 b/ext/ldap/config.m4 index 5f710b8233..4112d46811 100644 --- a/ext/ldap/config.m4 +++ b/ext/ldap/config.m4 @@ -159,9 +159,9 @@ if test "$PHP_LDAP" != "no"; then dnl Save original values _SAVE_CPPFLAGS=$CPPFLAGS - _SAVE_LDFLAGS=$LDFLAGS + _SAVE_LIBS=$LIBS CPPFLAGS="$CPPFLAGS -I$LDAP_INCDIR" - LDFLAGS="$LDFLAGS $LDAP_SHARED_LIBADD" + LIBS="$LIBS $LDAP_SHARED_LIBADD" dnl Check for 3 arg ldap_set_rebind_proc AC_CACHE_CHECK([for 3 arg ldap_set_rebind_proc], ac_cv_3arg_setrebindproc, @@ -191,5 +191,5 @@ if test "$PHP_LDAP" != "no"; then dnl Restore original values CPPFLAGS=$_SAVE_CPPFLAGS - LDFLAGS=$_SAVE_LDFLAGS + LIBS=$_SAVE_LIBS fi |
