diff --git a/package/lua-sdl2/Config.in b/package/lua-sdl2/Config.in index 65f9e7ff41..d0c1b91eb1 100644 --- a/package/lua-sdl2/Config.in +++ b/package/lua-sdl2/Config.in @@ -1,6 +1,7 @@ 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, @@ -8,5 +9,5 @@ config BR2_PACKAGE_LUA_SDL2 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