Browse Source

chipmunk2d: improve syslinks

star9029 1 năm trước cách đây
mục cha
commit
81fbc1ca40
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      packages/c/chipmunk2d/xmake.lua

+ 1 - 3
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")