Skip to content

Commit

Permalink
added libtinfo dependency
Browse files Browse the repository at this point in the history
required on aarch64 debian bookworm. While libreadline requires e.g.
tputs it does not link against libtinfo itself.
  • Loading branch information
leetonidas committed Apr 26, 2024
1 parent 88246d6 commit 81f47ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua-5.4.6/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 81f47ed

Please sign in to comment.