mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-12 03:24:08 +00:00
nginx: add PACKAGECONFIG[ssl]
Signed-off-by: Max Kellermann <max.kellermann@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -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}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user