summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/apache/apache.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/apache/apache.mk b/package/apache/apache.mk
index 283c3cbd50..a95ac69f31 100644
--- a/package/apache/apache.mk
+++ b/package/apache/apache.mk
@@ -63,6 +63,15 @@ else
APACHE_CONF_OPTS += --disable-lua
endif
+ifeq ($(BR2_PACKAGE_NGHTTP2),y)
+APACHE_CONF_OPTS += \
+ --enable-http2 \
+ --with-nghttp2=$(STAGING_DIR)/usr
+APACHE_DEPENDENCIES += nghttp2
+else
+APACHE_CONF_OPTS += --disable-http2
+endif
+
ifeq ($(BR2_PACKAGE_OPENSSL),y)
APACHE_DEPENDENCIES += openssl
APACHE_CONF_OPTS += \
OpenPOWER on IntegriCloud