mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
Fixed bug #26461 (-lssl missing from LIBS)
This commit is contained in:
parent
fb7f1aa71e
commit
c3ea5b122e
@ -1663,7 +1663,6 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[
|
||||
old_LIBS=$LIBS
|
||||
LIBS="$LIBS -lcrypto"
|
||||
PHP_CHECK_LIBRARY(ssl, SSL_CTX_set_ssl_version, [
|
||||
PHP_ADD_LIBRARY(ssl,,$1)
|
||||
found_openssl=yes
|
||||
],[
|
||||
AC_MSG_ERROR([libssl not found!])
|
||||
@ -1671,6 +1670,7 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[
|
||||
-L$OPENSSL_LIBDIR
|
||||
])
|
||||
LIBS=$old_LIBS
|
||||
PHP_ADD_LIBRARY(ssl,,$1)
|
||||
fi
|
||||
|
||||
dnl For apache 1.3.x static build
|
||||
|
Loading…
Reference in New Issue
Block a user