blob: ff05a380ab2e3894490068888a284fb7efc1423e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright (C) Igor Sysoev
if test -n "$OPENSSL_OPT"; then
NGX_OPENSSL_CONFIG="./Configure \"$OPENSSL_OPT\""
else
NGX_OPENSSL_CONFIG="./config"
fi
if test -n "$USE_THREADS"; then
NGX_OPENSSL_CONFIG="$NGX_OPENSSL_CONFIG threads"
fi
case "$NGX_PLATFORM" in
*)
cat << END >> $NGX_MAKEFILE
$OPENSSL/libssl.a:
cd $OPENSSL \\
&& \$(MAKE) clean \\
&& $NGX_OPENSSL_CONFIG no-shared \\
&& \$(MAKE)
END
;;
esac
|