mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/lua: don't override dependencies
Don't override LUA_DEPENDENCIES in a conditional
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit bb0ca7f32e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
2c78b90d8b
commit
dc4a479ef9
@@ -40,12 +40,12 @@ LUA_MYLIBS += -ldl
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LUA_READLINE),y)
|
ifeq ($(BR2_PACKAGE_LUA_READLINE),y)
|
||||||
LUA_DEPENDENCIES = readline ncurses
|
LUA_DEPENDENCIES += readline ncurses
|
||||||
LUA_MYLIBS += -lreadline -lhistory -lncurses
|
LUA_MYLIBS += -lreadline -lhistory -lncurses
|
||||||
LUA_CFLAGS += -DLUA_USE_READLINE
|
LUA_CFLAGS += -DLUA_USE_READLINE
|
||||||
else
|
else
|
||||||
ifeq ($(BR2_PACKAGE_LUA_LINENOISE),y)
|
ifeq ($(BR2_PACKAGE_LUA_LINENOISE),y)
|
||||||
LUA_DEPENDENCIES = linenoise
|
LUA_DEPENDENCIES += linenoise
|
||||||
LUA_MYLIBS += -llinenoise
|
LUA_MYLIBS += -llinenoise
|
||||||
LUA_CFLAGS += -DLUA_USE_LINENOISE
|
LUA_CFLAGS += -DLUA_USE_LINENOISE
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user