2
0
ruki 1 жил өмнө
parent
commit
2c8f70000c

+ 3 - 4
packages/o/openmp/xmake.lua

@@ -19,10 +19,9 @@ package("openmp")
     end)
 
     on_fetch(function (package)
-        for _, dep in ipairs(package:orderdeps()) do
-            if not dep:fetch() then
-                return
-            end
+        local libomp = package:dep("libomp")
+        if libomp and not libomp:fetch() then
+            return
         end
         local result = {}
         if package.has_tool then