Browse Source

onnxruntime windows dll (#3738)

c8ef 1 năm trước cách đây
mục cha
commit
323d00539d
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      packages/o/onnxruntime/xmake.lua

+ 3 - 0
packages/o/onnxruntime/xmake.lua

@@ -88,6 +88,9 @@ package("onnxruntime")
     end)
 
     on_install("windows", "linux|arm64", "linux|x86_64", "macosx", function (package)
+        if package:is_plat("windows") then
+            os.mv("lib/*.dll", package:installdir("bin"))
+        end
         os.cp("*", package:installdir())
     end)