package/libubox: 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>
This commit is contained in:
parent
6ddebe4819
commit
c9a7bcc720
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user