diff options
| author | ruki <[email protected]> | 2024-08-21 23:10:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-08-21 23:10:26 +0800 |
| commit | 354af2044a4943f670dc8ddfcf848f93bfb1e7de (patch) | |
| tree | 5e45171d93a845b9083304f3a54b8c7a4615f18b /core/xmake.lua | |
| parent | 752550f369fefbe1b1438f69e9d0e39c1abe9084 (diff) | |
fix readline
Diffstat (limited to 'core/xmake.lua')
| -rw-r--r-- | core/xmake.lua | 1 |
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) |
