diff options
| author | ruki <[email protected]> | 2023-01-19 23:17:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-01-19 23:17:28 +0800 |
| commit | 693a5383c31b1c5809fcc48bb17b834c52c50668 (patch) | |
| tree | 3603f4226b719fd4d3844977c352e96794561acb /core/src | |
| parent | cb91361e8e1af7591a6c4eece6b8c7022961a610 (diff) | |
fix external option
Diffstat (limited to 'core/src')
| -rwxr-xr-x | core/src/xmake/xmake.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/xmake/xmake.sh b/core/src/xmake/xmake.sh index d4195c2d0..709ff525b 100755 --- a/core/src/xmake/xmake.sh +++ b/core/src/xmake/xmake.sh @@ -25,7 +25,9 @@ target "xmake" add_deps "luajit" fi else - add_deps "lua_cjson" + if ! has_config "external"; then + add_deps "lua_cjson" + fi if has_config "lua"; then add_options "lua" "{public}" elif ! has_config "external"; then |
