mirror of
https://github.com/nginx/nginx.git
synced 2024-11-29 20:24:21 -06:00
do not build OpenSSL with threads, if they are not used
This commit is contained in:
parent
054f9b0a8c
commit
673382f2aa
@ -8,9 +8,10 @@ else
|
||||
NGX_OPENSSL_CONFIG="./config"
|
||||
fi
|
||||
|
||||
if test -n "$USE_THREADS"; then
|
||||
NGX_OPENSSL_CONFIG="$NGX_OPENSSL_CONFIG threads"
|
||||
fi
|
||||
case $USE_THREADS in
|
||||
NO) NGX_OPENSSL_CONFIG="$NGX_OPENSSL_CONFIG no-threads" ;;
|
||||
*) NGX_OPENSSL_CONFIG="$NGX_OPENSSL_CONFIG threads" ;;
|
||||
esac
|
||||
|
||||
case "$NGX_PLATFORM" in
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user