Browse Source

Add extsources for jolt-physics (#2605)

ImperatorS79 2 years ago
parent
commit
087ca483cf
1 changed files with 4 additions and 0 deletions
  1. 4 0
      packages/j/joltphysics/xmake.lua

+ 4 - 0
packages/j/joltphysics/xmake.lua

@@ -42,6 +42,10 @@ package("joltphysics")
         add_syslinks("pthread")
     end
 
+    if is_plat("mingw") and is_subhost("msys") then
+        add_extsources("pacman::jolt-physics")
+    end
+
     on_load(function (package)
         local version = package:version()
         if not version or version:ge("3.0.0") then