summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Martin <s.martin49@gmail.com>2014-10-19 20:04:47 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-26 17:05:25 +0100
commit69ea2958c2273e450cd2298762a822c47452d863 (patch)
tree33897d3cebdc9cbcc32f1aca02b2d58257acfb8f
parente6436a6cdf1eb9ec7819a9b14c2705a7b7baf5b2 (diff)
package/libuci: cleanup configure options
Make BUILD_LUA assignation symetrical. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/libuci/libuci.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libuci/libuci.mk b/package/libuci/libuci.mk
index 12e07fc6e..a78048dc5 100644
--- a/package/libuci/libuci.mk
+++ b/package/libuci/libuci.mk
@@ -12,7 +12,8 @@ LIBUCI_DEPENDENCIES = libubox
ifeq ($(BR2_PACKAGE_LUA_5_1),y)
LIBUCI_DEPENDENCIES += lua
-LIBUCI_CONF_OPTS += -DLUAPATH=$(STAGING_DIR)/usr/lib/lua/5.1 \
+LIBUCI_CONF_OPTS += -DBUILD_LUA=ON \
+ -DLUAPATH=$(STAGING_DIR)/usr/lib/lua/5.1 \
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
else
LIBUCI_CONF_OPTS += -DBUILD_LUA=OFF