From 81f47ed7e88437c375f06aeea7733415cebb4e08 Mon Sep 17 00:00:00 2001 From: Clemens Jonischkeit Date: Fri, 26 Apr 2024 12:09:18 +0200 Subject: [PATCH] added libtinfo dependency required on aarch64 debian bookworm. While libreadline requires e.g. tputs it does not link against libtinfo itself. --- lua-5.4.6/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/lua-5.4.6/CMakeLists.txt b/lua-5.4.6/CMakeLists.txt index 58cf579..d67dfae 100644 --- a/lua-5.4.6/CMakeLists.txt +++ b/lua-5.4.6/CMakeLists.txt @@ -125,6 +125,7 @@ if(LUA_BUILD_BINARY) if (HAVE_READLINE_READLINE_H) target_compile_definitions(lua PRIVATE "LUA_USE_READLINE") target_link_libraries(lua PUBLIC readline) + target_link_libraries(lua PUBLIC tinfo) endif() list(APPEND TARGETS_TO_INSTALL lua) endif()