summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-12-21 22:34:47 +0800
committerruki <[email protected]>2022-12-21 22:34:47 +0800
commitddb73649f7df2be7bf173db45f21e09c1e7ee703 (patch)
tree1d9d15a5ecc0aefd8edbb4c36867631442c5b3ef
parent290fd1bf06f72cfb249fd34b609c3cd132ecb75a (diff)
fix links
-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 9958792e5..e0a753639 100755
--- a/core/src/demo/xmake.sh
+++ b/core/src/demo/xmake.sh
@@ -40,6 +40,8 @@ target "demo"
# add syslinks
if is_plat "mingw" "msys" "cygwin"; then
add_syslinks "ws2_32" "pthread" "m"
+ elif is_plat "bsd"; then
+ add_syslinks "pthread" "m"
else
add_syslinks "pthread" "dl" "m" "c"
fi