[Buildroot] [git commit branch/2021.02.x] package/lua: don't override dependencies

Peter Korsgaard peter at korsgaard.com
Tue Nov 9 09:55:50 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=4a2a410d24da11b0b85787c4a2ac44ca8ef97b5c
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x

Don't override LUA_DEPENDENCIES in a conditional

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
(cherry picked from commit bb0ca7f32eaa3c3535c04e2f84763be75606714c)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 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 e3a415a06a..bbfb3b5368 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


More information about the buildroot mailing list