summaryrefslogtreecommitdiff
path: root/core/src/demo/xmake.lua
diff options
context:
space:
mode:
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")