Skip to contentSkip to conversation

package/apache: add optional support for lua

PATCH New Bernd Kuhls 2 participants 2 messages Mar 30, 2018 – Mar 31, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/apache: add optional support for lua

---
 package/apache/apache.mk | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
package/apache/apache.mk +9 -1
index eaf7b9c5bf..3b39be4a40 100644
@@ -40,7 +40,6 @@ APACHE_CONF_OPTS = \
 	--without-suexec-bin \
 	--enable-mods-shared=all \
 	--with-mpm=$(APACHE_MPM) \
-	--disable-lua \
 	--disable-luajit
 
 ifeq ($(BR2_PACKAGE_LIBXML2),y)
@@ -57,6 +56,15 @@ APACHE_CONF_OPTS += \
 	--disable-proxy-html
 endif
 
+ifeq ($(BR2_PACKAGE_LUA),y)
+APACHE_CONF_OPTS += \
+	--enable-lua \
+	--with-lua=$(STAGING_DIR)/usr
+APACHE_DEPENDENCIES += lua
+else
+APACHE_CONF_OPTS += --disable-lua
+endif
+
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 APACHE_DEPENDENCIES += openssl
 APACHE_CONF_OPTS += \
Signature · 1 line
2.14.2
#1 lore raw

PATCH 1/1 package/apache: add optional support for lua

Hello,

Quoted 4 lines · Bernd Kuhls
---
 package/apache/apache.mk | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com