summaryrefslogtreecommitdiff
path: root/core/src/demo/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-05-03 21:21:09 +0800
committerruki <[email protected]>2017-05-03 21:21:09 +0800
commit021a778bc410cbe330ade85142bf29aed2485c39 (patch)
treef41b7eebe3a65c6a98d4a78b3a4ba19c74be71ee /core/src/demo/xmake.lua
parentd05c6f778f125e94488fb785a2176e2854d98442 (diff)
add readline for linux and macosx
Diffstat (limited to 'core/src/demo/xmake.lua')
-rw-r--r--core/src/demo/xmake.lua5
1 files changed, 5 insertions, 0 deletions
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")