aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max.kellermann@gmail.com>2018-09-18 10:26:02 +0200
committerKhem Raj <raj.khem@gmail.com>2018-09-18 20:17:03 -0700
commit46b73de2ada21d9609c4ba81f9fb86e63b1d4db1 (patch)
treed9f4a887e72ede4d03133e96611607653ffd58da
parent28f0a72563de0d801093b755a911f79269d83ce4 (diff)
downloadmeta-openembedded-contrib-46b73de2ada21d9609c4ba81f9fb86e63b1d4db1.tar.gz
nginx: add PACKAGECONFIG[ssl]
Signed-off-by: Max Kellermann <max.kellermann@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-webserver/recipes-httpd/nginx/nginx.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc
index f1b50bcde7..24c2cedf5f 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -9,7 +9,7 @@ LICENSE = "BSD-2-Clause"
SECTION = "net"
-DEPENDS = "libpcre zlib openssl"
+DEPENDS = "libpcre zlib"
SRC_URI = " \
http://nginx.org/download/nginx-${PV}.tar.gz \
@@ -34,7 +34,10 @@ NGINX_USER ?= "www"
EXTRA_OECONF = ""
DISABLE_STATIC = ""
+PACKAGECONFIG ??= "ssl"
+
PACKAGECONFIG[http2] = "--with-http_v2_module,,"
+PACKAGECONFIG[ssl] = "--with-http_ssl_module,,openssl"
do_configure () {
if [ "${SITEINFO_BITS}" = "64" ]; then
@@ -72,7 +75,6 @@ do_configure () {
--pid-path=/run/nginx/nginx.pid \
--prefix=${prefix} \
--with-threads \
- --with-http_ssl_module \
--with-http_gzip_static_module \
${EXTRA_OECONF} ${PACKAGECONFIG_CONFARGS}
}