From 021a778bc410cbe330ade85142bf29aed2485c39 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 3 May 2017 21:21:09 +0800 Subject: add readline for linux and macosx --- core/src/demo/xmake.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core/src/demo/xmake.lua') diff --git a/core/src/demo/xmake.lua b/core/src/demo/xmake.lua index 6449ef8d2..174b2fd38 100644 --- a/core/src/demo/xmake.lua +++ b/core/src/demo/xmake.lua @@ -23,6 +23,11 @@ target("demo") add_links("xmake", "luajit") add_linkdirs("$(buildir)") + -- link readline + if not is_plat("windows") then + add_links("readline") + end + -- add packages add_packages("tbox", "base") -- cgit v1.3.1