From 323d00539d6c10e2c82b42b9d5c928291ef6b9c7 Mon Sep 17 00:00:00 2001 From: c8ef Date: Tue, 9 Apr 2024 21:23:15 +0800 Subject: [PATCH] onnxruntime windows dll (#3738) --- packages/o/onnxruntime/xmake.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/o/onnxruntime/xmake.lua b/packages/o/onnxruntime/xmake.lua index 85147883a..39bf0c724 100644 --- a/packages/o/onnxruntime/xmake.lua +++ b/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)