summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2022-12-24 21:05:02 +0800
committerruki <[email protected]>2022-12-24 21:05:02 +0800
commit2e5134b08e41ba3afb7975473601f4407a7334d5 (patch)
tree797c653192e350b6cdae132023ca9ffc9e0e68c2 /core/src
parentf455e3661ce2bf48871c1ee2a6c650b785990557 (diff)
improve links
Diffstat (limited to 'core/src')
-rwxr-xr-xcore/src/demo/xmake.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/demo/xmake.sh b/core/src/demo/xmake.sh
index 61141337c..2f091b6ef 100755
--- a/core/src/demo/xmake.sh
+++ b/core/src/demo/xmake.sh
@@ -34,7 +34,7 @@ target "demo"
add_syslinks "ws2_32" "pthread" "m"
elif is_plat "bsd"; then
add_syslinks "pthread" "m"
- elif is_plat "termux"; then
+ elif test_nz "${TERMUX_ARCH}"; then
add_syslinks "m" "dl"
else
add_syslinks "pthread" "dl" "m" "c"