]> granicus.if.org Git - php/commitdiff
MFH: Fixed bug #26969 (shared openssl build fails)
authorfoobar <sniper@php.net>
Tue, 20 Jan 2004 01:11:40 +0000 (01:11 +0000)
committerfoobar <sniper@php.net>
Tue, 20 Jan 2004 01:11:40 +0000 (01:11 +0000)
NEWS
acinclude.m4

diff --git a/NEWS b/NEWS
index ce46db15bae6afde5702b7bd688cc46504713fe6..62b40a2a7f82b887a2894ab5ea8e699d1e2f79fc 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
 PHP 4                                                                      NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? Jan 2004, Version 4.3.5
+- Fixed bug #26969 (--with-openssl=shared build fails). (Jani)
 - Fixed bug #26949 (rand(min,max) always returns min when ZTS enabled). (Jani)
 - Fixed bug #26937 (Warning in xml.c). (Jani)
 - Fixed Bug #26927 (preg_quote() does not escape \0). (Ilia)
index 284c257e0f16999337aa19e2ddac5d29f0643a2c..1277a795eafc6b1d707faeb6292c92c27e39629b 100644 (file)
@@ -1656,7 +1656,6 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[
     CPPFLAGS=$old_CPPFLAGS
 
     PHP_ADD_INCLUDE($OPENSSL_INCDIR)
-    PHP_ADD_LIBPATH($OPENSSL_LIBDIR, $1)
   
     PHP_CHECK_LIBRARY(crypto, CRYPTO_free, [
       PHP_ADD_LIBRARY(crypto,,$1)
@@ -1677,6 +1676,8 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[
     ])
     LIBS=$old_LIBS
     PHP_ADD_LIBRARY(ssl,,$1)
+
+    PHP_ADD_LIBPATH($OPENSSL_LIBDIR, $1)
   fi
 
   dnl For apache 1.3.x static build