[Buildroot] [PATCH v2 1/1] package/apache: fix lua detection

Bernd Kuhls bernd.kuhls at t-online.de
Sun Apr 1 12:26:40 UTC 2018


Patch suggested by Thomas: Adding a path to --with-lua disables
pkgconf-based detection of lua, which in some cases needs libdl.

This patch removes --with-lua which fixes
http://autobuild.buildroot.net/results/cc1/cc13f4cef9cf6f18615d58f1d83b233812f19fa0/

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
v2: rely on pkgconf (Thomas)

 package/apache/apache.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/package/apache/apache.mk b/package/apache/apache.mk
index 3b39be4a40..23414fe44d 100644
--- a/package/apache/apache.mk
+++ b/package/apache/apache.mk
@@ -57,9 +57,7 @@ APACHE_CONF_OPTS += \
 endif
 
 ifeq ($(BR2_PACKAGE_LUA),y)
-APACHE_CONF_OPTS += \
-	--enable-lua \
-	--with-lua=$(STAGING_DIR)/usr
+APACHE_CONF_OPTS += --enable-lua
 APACHE_DEPENDENCIES += lua
 else
 APACHE_CONF_OPTS += --disable-lua
-- 
2.14.2



More information about the buildroot mailing list