summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/xmake.lua b/core/xmake.lua
index 99f4fc1bc..28bf4f22b 100644
--- a/core/xmake.lua
+++ b/core/xmake.lua
@@ -78,6 +78,7 @@ option("readline")
add_cincludes("stdio.h", "readline/readline.h")
add_cfuncs("readline")
add_defines("XM_CONFIG_API_HAVE_READLINE")
+ add_deps("cosmocc")
after_check(function (option)
if option:dep("cosmocc"):enabled() then
option:enable(false)