mirror of
https://github.com/nginx/nginx.git
synced 2024-12-05 06:19:01 +08:00
31 lines
547 B
Plaintext
31 lines
547 B
Plaintext
|
|
# Copyright (C) Igor Sysoev
|
|
|
|
|
|
if test -n "$OPENSSL_OPT"; then
|
|
NGX_OPENSSL_CONFIG="./Configure \"$OPENSSL_OPT\""
|
|
else
|
|
NGX_OPENSSL_CONFIG="./config"
|
|
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
|
|
*)
|
|
cat << END >> $NGX_MAKEFILE
|
|
|
|
$OPENSSL/libssl.a:
|
|
cd $OPENSSL \\
|
|
&& \$(MAKE) clean \\
|
|
&& $NGX_OPENSSL_CONFIG no-shared \\
|
|
&& \$(MAKE)
|
|
|
|
END
|
|
|
|
;;
|
|
|
|
esac
|