1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 01:02:25 +01:00

- Fixed build of shared extensions which require openssl and when you only

have static openssl libraries.
This commit is contained in:
foobar
2003-11-13 14:17:47 +00:00
parent 45f12cc61f
commit 4eab4158cd

View File

@@ -1658,7 +1658,9 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[
],[
-L$OPENSSL_LIBDIR
])
old_LIBS=$LIBS
LIBS="$LIBS -lcrypto"
PHP_CHECK_LIBRARY(ssl, SSL_CTX_set_ssl_version, [
PHP_ADD_LIBRARY(ssl,,$1)
found_openssl=yes
@@ -1667,6 +1669,7 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[
],[
-L$OPENSSL_LIBDIR
])
LIBS=$old_LIBS
fi
dnl For apache 1.3.x static build