From 81fbc1ca40cd028d19c6ffb705c40b7855cb3df8 Mon Sep 17 00:00:00 2001 From: star9029 Date: Tue, 11 Jun 2024 22:05:57 +0800 Subject: [PATCH] chipmunk2d: improve syslinks --- packages/c/chipmunk2d/xmake.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/c/chipmunk2d/xmake.lua b/packages/c/chipmunk2d/xmake.lua index 3298aaa35..01769a76d 100644 --- a/packages/c/chipmunk2d/xmake.lua +++ b/packages/c/chipmunk2d/xmake.lua @@ -22,9 +22,7 @@ package("chipmunk2d") add_deps("cmake") - if is_plat("linux") then - add_syslinks("pthread", "m") - elseif is_plat("bsd") then + if is_plat("linux", "bsd") then add_syslinks("pthread", "m") elseif is_plat("android") then add_syslinks("log", "m")