summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2023-01-19 23:16:18 +0800
committerruki <[email protected]>2023-01-19 23:16:18 +0800
commit50e02b189f625a9a6de542545d5c864addfa4ce0 (patch)
treea0135e2a067c3cf21597f237fc6a5f064bd60f61 /core/src
parent216be81132314c11d960fc998f2919345f3a7630 (diff)
improve xmake.sh
Diffstat (limited to 'core/src')
-rwxr-xr-xcore/src/xmake/xmake.sh4
1 files changed, 1 insertions, 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