Skip to content

Commit 4e389f6

Browse files
MaxKellermannkraj
authored andcommitted
nginx: add PACKAGECONFIG[ssl]
Signed-off-by: Max Kellermann <max.kellermann@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 parent a2bce54 commit 4e389f6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

meta-webserver/recipes-httpd/nginx/nginx.inc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LICENSE = "BSD-2-Clause"
99

1010
SECTION = "net"
1111

12-
DEPENDS = "libpcre zlib openssl"
12+
DEPENDS = "libpcre zlib"
1313

1414
SRC_URI = " \
1515
http://nginx.org/download/nginx-${PV}.tar.gz \
@@ -34,7 +34,10 @@ NGINX_USER ?= "www"
3434
EXTRA_OECONF = ""
3535
DISABLE_STATIC = ""
3636

37+
PACKAGECONFIG ??= "ssl"
38+
3739
PACKAGECONFIG[http2] = "--with-http_v2_module,,"
40+
PACKAGECONFIG[ssl] = "--with-http_ssl_module,,openssl"
3841

3942
do_configure () {
4043
if [ "${SITEINFO_BITS}" = "64" ]; then
@@ -72,7 +75,6 @@ do_configure () {
7275
--pid-path=/run/nginx/nginx.pid \
7376
--prefix=${prefix} \
7477
--with-threads \
75-
--with-http_ssl_module \
7678
--with-http_gzip_static_module \
7779
${EXTRA_OECONF} ${PACKAGECONFIG_CONFARGS}
7880
}

0 commit comments

Comments
 (0)