From 50e02b189f625a9a6de542545d5c864addfa4ce0 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 19 Jan 2023 23:16:18 +0800 Subject: improve xmake.sh --- core/src/xmake/xmake.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/src/xmake/xmake.sh b/core/src/xmake/xmake.sh index 59ec6b503..ce6ec0481 100755 --- a/core/src/xmake/xmake.sh +++ b/core/src/xmake/xmake.sh @@ -25,9 +25,7 @@ target "xmake" add_deps "luajit" fi else - if ! has_config "lua_cjson"; then - add_deps "lua_cjson" - fi + add_deps "lua_cjson" if has_config "lua"; then add_options "lua" "{public}" else -- cgit v1.3.1