package/libubox: cleanup configure options
authorSamuel Martin <s.martin49@gmail.com>
Sun, 19 Oct 2014 18:04:45 +0000 (20:04 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 Oct 2014 16:05:09 +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/libubox/libubox.mk

index 572cfe9d9ed9dafe17a3a11b67ac466d41cf29bf..5d9c01d2b8e956a536a3941452f834705a603d22 100644 (file)
@@ -12,7 +12,8 @@ LIBUBOX_DEPENDENCIES = $(if $(BR2_PACKAGE_JSON_C),json-c)
 
 ifeq ($(BR2_USE_MMU)$(BR2_PACKAGE_LUA_5_1),yy)
 LIBUBOX_DEPENDENCIES += lua
-LIBUBOX_CONF_OPTS += -DLUAPATH=$(STAGING_DIR)/usr/lib/lua/5.1 \
+LIBUBOX_CONF_OPTS += -DBUILD_LUA=ON \
+       -DLUAPATH=$(STAGING_DIR)/usr/lib/lua/5.1 \
        -DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
 else
 LIBUBOX_CONF_OPTS += -DBUILD_LUA=OFF