We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2bce54 commit 4e389f6Copy full SHA for 4e389f6
1 file changed
meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -9,7 +9,7 @@ LICENSE = "BSD-2-Clause"
9
10
SECTION = "net"
11
12
-DEPENDS = "libpcre zlib openssl"
+DEPENDS = "libpcre zlib"
13
14
SRC_URI = " \
15
http://nginx.org/download/nginx-${PV}.tar.gz \
@@ -34,7 +34,10 @@ NGINX_USER ?= "www"
34
EXTRA_OECONF = ""
35
DISABLE_STATIC = ""
36
37
+PACKAGECONFIG ??= "ssl"
38
+
39
PACKAGECONFIG[http2] = "--with-http_v2_module,,"
40
+PACKAGECONFIG[ssl] = "--with-http_ssl_module,,openssl"
41
42
do_configure () {
43
if [ "${SITEINFO_BITS}" = "64" ]; then
@@ -72,7 +75,6 @@ do_configure () {
72
75
--pid-path=/run/nginx/nginx.pid \
73
76
--prefix=${prefix} \
74
77
--with-threads \
- --with-http_ssl_module \
78
--with-http_gzip_static_module \
79
${EXTRA_OECONF} ${PACKAGECONFIG_CONFARGS}
80
}
0 commit comments