mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
- Fixed build of shared extensions which require openssl and when you only
have static openssl libraries.
This commit is contained in:
parent
45f12cc61f
commit
4eab4158cd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user