Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
config BR2_PACKAGE_LUA_SDL2
bool "lua-sdl2"
depends on !BR2_STATIC_LIBS
+ depends on !BR2_PACKAGE_LUA_5_4
select BR2_PACKAGE_SDL2
help
Lua-SDL2 is a pure C binding of SDL2 to Lua 5.1, Lua 5.2,
https://github.com/Tangent128/luasdl2
-comment "lua-sdl2 needs a toolchain w/ dynamic library"
- depends on BR2_STATIC_LIBS
+comment "lua-sdl2 needs a toolchain w/ dynamic library, Lua <= 5.3"
+ depends on BR2_STATIC_LIBS || BR2_PACKAGE_LUA_5_4