Parcourir la source

fix libogg for cross

ruki il y a 4 ans
Parent
commit
ac35632a9e
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      packages/l/libogg/xmake.lua

+ 3 - 0
packages/l/libogg/xmake.lua

@@ -9,6 +9,9 @@ package("libogg")
     add_patches("1.3.4", path.join(os.scriptdir(), "patches", "1.3.4", "macos_fix.patch"), "e12c41ad71206777f399c1048914e5e5a2fe44e18d0d50ebe9bedbfbe0624c35")
 
     add_deps("cmake")
+    if is_plat("cross") and is_subhost("windows") then
+        add_deps("make")
+    end
 
     on_install("windows", "macosx", "linux", "mingw", "iphoneos", "android", "cross", function (package)
         local configs = {}