Skip to content

Commit

Permalink
nginx: add PACKAGECONFIG[ssl]
Browse files Browse the repository at this point in the history
Signed-off-by: Max Kellermann <max.kellermann@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
MaxKellermann authored and kraj committed Sep 24, 2018
1 parent a2bce54 commit 4e389f6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions meta-webserver/recipes-httpd/nginx/nginx.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
Expand Down Expand Up @@ -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}
}
Expand Down

0 comments on commit 4e389f6

Please sign in to comment.