From bb0ca7f32eaa3c3535c04e2f84763be75606714c Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 6 Nov 2021 16:34:03 +0100 Subject: [PATCH] package/lua: don't override dependencies Don't override LUA_DEPENDENCIES in a conditional Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/lua/lua.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/lua/lua.mk b/package/lua/lua.mk index b385b78b30..844e165df0 100644 --- a/package/lua/lua.mk +++ b/package/lua/lua.mk @@ -40,12 +40,12 @@ LUA_MYLIBS += -ldl endif ifeq ($(BR2_PACKAGE_LUA_READLINE),y) -LUA_DEPENDENCIES = readline ncurses +LUA_DEPENDENCIES += readline ncurses LUA_MYLIBS += -lreadline -lhistory -lncurses LUA_CFLAGS += -DLUA_USE_READLINE else ifeq ($(BR2_PACKAGE_LUA_LINENOISE),y) -LUA_DEPENDENCIES = linenoise +LUA_DEPENDENCIES += linenoise LUA_MYLIBS += -llinenoise LUA_CFLAGS += -DLUA_USE_LINENOISE endif