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>
This commit is contained in:
parent
05fb75e495
commit
bb0ca7f32e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user