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")