summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2022-12-24 20:48:34 +0800
committerruki <[email protected]>2022-12-24 20:48:34 +0800
commitf455e3661ce2bf48871c1ee2a6c650b785990557 (patch)
tree8d160c19db77e5abe28523bb168ffdff9984efb3 /core/src
parent781ddc428c7898c194a3b3dba1633818e6f488b9 (diff)
fix termux
Diffstat (limited to 'core/src')
-rwxr-xr-xcore/src/demo/xmake.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/demo/xmake.sh b/core/src/demo/xmake.sh
index 0a04b8bfb..61141337c 100755
--- a/core/src/demo/xmake.sh
+++ b/core/src/demo/xmake.sh
@@ -34,6 +34,8 @@ target "demo"
add_syslinks "ws2_32" "pthread" "m"
elif is_plat "bsd"; then
add_syslinks "pthread" "m"
+ elif is_plat "termux"; then
+ add_syslinks "m" "dl"
else
add_syslinks "pthread" "dl" "m" "c"
fi