summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rwxr-xr-xcore/src/xmake/xmake.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/core/src/xmake/xmake.sh b/core/src/xmake/xmake.sh
index 6c42c9618..46cb36ca1 100755
--- a/core/src/xmake/xmake.sh
+++ b/core/src/xmake/xmake.sh
@@ -6,11 +6,7 @@ target "xmake"
# add deps
add_deps "sv" "lua" "lz4" "tbox"
- if has_config "lua_cjson"; then
- add_links "cjson" "{public}"
- else
- add_deps "lua_cjson"
- fi
+ add_lua_cjson
# add defines
add_defines "__tb_prefix__=\"xmake\""