package/libuci: cleanup configure options
authorSamuel Martin <s.martin49@gmail.com>
Sun, 19 Oct 2014 18:04:47 +0000 (20:04 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 Oct 2014 16:05:25 +0000 (17:05 +0100)
Make BUILD_LUA assignation symetrical.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libuci/libuci.mk

index 12e07fc6e3c88392fcacc47e40bce8b8e3c952d7..a78048dc53c8258617618f177c76d810cefe66c0 100644 (file)
@@ -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