Skip to content

Commit

Permalink
use editline & ncurses
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing committed Aug 23, 2024
1 parent e58a228 commit 6818c57
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/m/mysql/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package("mysql")
add_deps("cmake")
add_deps("zlib", "zstd", "lz4", "openssl", "rapidjson")
if is_plat("linux") then
add_deps("editline")
add_deps("editline", {configs = {terminal_db = "ncurses"}})
end

if on_check then
Expand Down Expand Up @@ -44,9 +44,6 @@ package("mysql")
if version:eq("9.0.1") then
io.replace("cmake/ssl.cmake", "FIND_CUSTOM_OPENSSL()", "FIND_SYSTEM_OPENSSL()", {plain = true})
end
io.replace("cmake/readline.cmake",
"IF(EDITLINE_HAVE_COMPLETION_INT OR EDITLINE_HAVE_COMPLETION_CHAR)",
"IF(TRUE)", {plain = true})

if package:is_plat("windows") then
io.replace("cmake/install_macros.cmake",
Expand Down

0 comments on commit 6818c57

Please sign in to comment.